Improve EditPrivacyBox layout.

Also fix incorrect killTimer() calls in DiscreteSlider.
This commit is contained in:
John Preston
2017-03-19 11:29:05 +03:00
parent 5530172add
commit a5df46f381
7 changed files with 88 additions and 114 deletions
@@ -44,6 +44,7 @@ void DiscreteSlider::setActiveSection(int index) {
void DiscreteSlider::activateCallback() {
if (_timerId >= 0) {
killTimer(_timerId);
_timerId = -1;
}
auto ms = getms();
if (ms >= _callbackAfterMs) {