Bug fix 1432;

When you PAD-enter on a popup-number button (like for add circle) it
accidentally de/increased the value before assigning an "OK". Fixed.

Also: restored functionality that allows to use Enter keys as a mouse
button click. This de/increases values now, opens menus, etc. Not in
pupup or pulldown menus though!
This commit is contained in:
2004-10-12 09:06:28 +00:00
parent be32f6d5b8
commit 2521a8b577
2 changed files with 7 additions and 5 deletions

View File

@@ -187,7 +187,7 @@ struct uiBlock {
float xofs, yofs; // offset to parent button
rctf parentrct; // for pulldowns, rect the mouse is allowed outside of menu (parent button)
rctf safety; // pulldowns, to detect outside, can differ per case how it is created
rctf flush; // rect to be flushed to frontbuffer
int handler; // for panels in other windows than buttonswin... just event code
};