parent
ab9342904e
commit
6f34e1d16a
2 changed files with 3 additions and 2 deletions
|
@ -21,6 +21,7 @@ Version 1.7.6+svn:
|
|||
* Update the mouse position after closing a dialog, so the dialog below
|
||||
'knows' the proper mouse location
|
||||
* Fix double click events to be send to the wrong window
|
||||
* Fix scrollbars to show up when not needed (bug #13996)
|
||||
* WML engine:
|
||||
* Added 'side Y turn' and 'side Y turn X' events
|
||||
* Make status "hidden=yes" default, no need to do it manually in WML anymore
|
||||
|
|
|
@ -167,7 +167,7 @@ void tscrollbar_container::request_reduce_height(
|
|||
assert(vertical_scrollbar_grid_);
|
||||
|
||||
tpoint size = get_best_size();
|
||||
if(static_cast<unsigned>(size.y) < maximum_height) {
|
||||
if(static_cast<unsigned>(size.y) <= maximum_height) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -216,7 +216,7 @@ void tscrollbar_container::request_reduce_width(
|
|||
assert(horizontal_scrollbar_grid_);
|
||||
|
||||
tpoint size = get_best_size();
|
||||
if(static_cast<unsigned>(size.x) < maximum_width) {
|
||||
if(static_cast<unsigned>(size.x) <= maximum_width) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue