MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / dialogsWidthRatio

Method dialogsWidthRatio

Telegram/SourceFiles/core/core_settings.cpp:1308–1311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1306}
1307
1308float64 Settings::dialogsWidthRatio(bool nochat) const {
1309 const auto withchat = dialogsWithChatWidthRatio();
1310 return (!nochat || withchat > 0) ? withchat : dialogsNoChatWidthRatio();
1311}
1312
1313float64 Settings::dialogsWithChatWidthRatio() const {
1314 return _dialogsWithChatWidthRatio.current();

Callers 9

resizeForThirdSectionMethod · 0.80
closeThirdSectionMethod · 0.80
addFromSerializedMethod · 0.80
showForumMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected