Fix inspector window sometimes not hiding
When the f shortcut is quickly pressed, the inspector window will sometimes open and remain open even though it should automatically close. This commit ensures the window closes by capturing the f key release event from the main window in addition to the inspector window.
This commit is contained in:
@@ -91,6 +91,11 @@ public:
|
||||
*/
|
||||
void showWindow(bool scaled, bool fullscreen = true);
|
||||
|
||||
/**
|
||||
* Hide the window.
|
||||
*/
|
||||
void hideWindow();
|
||||
|
||||
/** @brief Mouse movement to a new position
|
||||
* @param pos Location of the mouse, in percentage (i.e. [0;1] range) relative to the full size image ; -1,-1 == out of the image
|
||||
* @param transform H/V flip and coarse rotation transformation
|
||||
|
Reference in New Issue
Block a user