Fixes #1266 tabs too wide after zoom

This commit is contained in:
fourtf
2019-09-01 13:26:06 +02:00
parent 5c0f81defd
commit d796517eb3
2 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -98,12 +98,12 @@ void AB_SETTINGS_CLASS::restoreSnapshot()
float AB_SETTINGS_CLASS::getClampedUiScale() const
{
return clamp<float>(this->uiScale.getValue(), 0.1, 10);
return clamp<float>(this->uiScale.getValue(), 0.2f, 10);
}
void AB_SETTINGS_CLASS::setClampedUiScale(float value)
{
this->uiScale.setValue(clamp<float>(value, 0.1, 10));
this->uiScale.setValue(clamp<float>(value, 0.2f, 10));
}
#ifndef AB_CUSTOM_SETTINGS