Removed NWST_STEP and min_step, we don't need two variables doing the same thing

This commit is contained in:
Sergii Pylypenko
2021-05-07 22:24:45 +03:00
parent 607d73f872
commit e80df6ae8e
37 changed files with 145 additions and 168 deletions

View File

@@ -864,7 +864,7 @@ struct SpriteAlignerWindow : Window {
break;
case WID_SA_LIST:
resize->height = std::max(11, FONT_HEIGHT_NORMAL + 1);
resize->height = GetMinSizing(NWST_STEP, resize->height);
resize->height = GetMinSizing(NWST_BUTTON, resize->height);
resize->width = 1;
break;
default: