1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-07-01 02:31:04 +02:00

fix(popup): often opening in wrong place

Fixes #16.
This commit is contained in:
Jake Stanger 2022-10-14 23:48:28 +01:00
parent 9e31107251
commit 5523e9af46
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
3 changed files with 29 additions and 7 deletions

View file

@ -175,8 +175,8 @@ fn add_modules(
let popup = popup.read().expect("Failed to get read lock on popup");
popup.hide();
popup.show(x, w);
popup.show_content($id);
popup.show(x, w);
}
ModuleUpdateEvent::ClosePopup => {
debug!("Closing popup for {} [#{}]", $name, $id);