mirror of https://github.com/OpenTTD/OpenTTD
Fix: Allow object picker to resize if there are no classes.
parent
e4cf6ca0ba
commit
dd7dbc8797
|
@ -187,6 +187,8 @@ public:
|
|||
|
||||
case WID_BO_INFO:
|
||||
size.height = this->info_height;
|
||||
fill.height = this->has_class_picker ? 0 : 1;
|
||||
resize.height = this->has_class_picker ? 0 : 1;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue