mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 16:31:58 +02:00
Workaround GTK4 revealers transition switch bug
Changing transition in middle or when not fully revealed has dire consequences, seems to be a GTK4 bug. Workaround this bug by switching top revealer transition type only when fully revealed.
This commit is contained in:
@@ -333,9 +333,11 @@ class ClapperWidget extends Gtk.Grid
|
||||
|
||||
updateTime()
|
||||
{
|
||||
const revealerTop = this.revealerTop;
|
||||
|
||||
if(
|
||||
!this.revealerTop.visible
|
||||
|| !this.revealerTop.revealerGrid.visible
|
||||
!revealerTop.visible
|
||||
|| !revealerTop.revealerGrid.visible
|
||||
)
|
||||
return null;
|
||||
|
||||
|
Reference in New Issue
Block a user