1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-17 14:51:04 +02:00

fix(popup): incorrect pos when resolution changes

Popups will now instantly reposition themselves to be correctly placed on resolution change. This includes orientation and scale changes.

Fixes #610
This commit is contained in:
Jake Stanger 2024-08-14 20:37:04 +01:00
parent 5001295d7c
commit 2aa55d8d66
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
4 changed files with 47 additions and 11 deletions

View file

@ -12,7 +12,7 @@ pub struct OutputEvent {
pub event_type: OutputEventType,
}
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum OutputEventType {
New,
Update,