Allow 64px as minimal sticker size
This commit is contained in:
parent
48201eb173
commit
86fc9d37f2
2 changed files with 3 additions and 3 deletions
|
|
@ -153,7 +153,7 @@ bool Manager::readCustomFile() {
|
|||
const auto settingsStickerHeightIt = settings.constFind(qsl("sticker_height"));
|
||||
if (settingsStickerHeightIt != settings.constEnd()) {
|
||||
const auto settingsStickerHeight = (*settingsStickerHeightIt).toInt();
|
||||
if (settingsStickerHeight >= 128 || settingsStickerHeight <= 256) {
|
||||
if (settingsStickerHeight >= 64 || settingsStickerHeight <= 256) {
|
||||
SetStickerHeight(settingsStickerHeight);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,8 +63,8 @@ void SetupKotatoChats(not_null<Ui::VerticalLayout*> container) {
|
|||
};
|
||||
stickerHeightSlider->resize(st::settingsAudioVolumeSlider.seekSize);
|
||||
stickerHeightSlider->setPseudoDiscrete(
|
||||
129,
|
||||
[](int val) { return val + 128; },
|
||||
193,
|
||||
[](int val) { return val + 64; },
|
||||
StickerHeight(),
|
||||
updateStickerHeight);
|
||||
updateStickerHeightLabel(StickerHeight());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue