fix: tray flickers due to excessive redrawing/visibility changing (#2747)
Co-authored-by: Patrick Ziegler <p.ziegler96@gmail.com>
This commit is contained in:
parent
9f4e88c07d
commit
a20f76d7e5
@ -1183,7 +1183,7 @@ bool tray_manager::on(const signals::ui_tray::tray_pos_change& evt) {
|
||||
}
|
||||
|
||||
bool tray_manager::on(const signals::ui_tray::tray_visibility& evt) {
|
||||
if (m_opts.tray_position == tray_postition::MODULE) {
|
||||
if (evt.cast() == m_hidden && m_opts.tray_position == tray_postition::MODULE) {
|
||||
return change_visibility(evt.cast());
|
||||
} else {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user