Fixed allowing more than 6 scales
It will cause problems if current scale does not persist there.
This commit is contained in:
parent
63c12dfb35
commit
724f579465
1 changed files with 1 additions and 1 deletions
|
|
@ -230,7 +230,7 @@ bool HasCustomScales() {
|
|||
}
|
||||
|
||||
bool AddCustomScale(int scale) {
|
||||
if (gInterfaceScales.size() > 6) {
|
||||
if (gInterfaceScales.size() >= 6) {
|
||||
return false;
|
||||
}
|
||||
gInterfaceScales.push_back(style::CheckScale(scale));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue