mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:17:45 +00:00
KeyboardMapper: Fix discrepancy between cursor and button clickability
KeyButton now only responds to clicks on the key-cap's face. This corresponds to when the cursor switches from the default arrow to a hand.
This commit is contained in:
parent
35afd32a51
commit
64684cbd5d
2 changed files with 14 additions and 7 deletions
|
@ -28,4 +28,6 @@ private:
|
|||
KeyButton() = default;
|
||||
|
||||
bool m_pressed { false };
|
||||
bool m_face_hovered { false };
|
||||
void set_face_hovered(bool value);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue