diff options
Diffstat (limited to 'src/layout/workspace.rs')
| -rw-r--r-- | src/layout/workspace.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/layout/workspace.rs b/src/layout/workspace.rs index 0e4c1af5..1cb55233 100644 --- a/src/layout/workspace.rs +++ b/src/layout/workspace.rs @@ -1757,6 +1757,11 @@ impl<W: LayoutElement> Workspace<W> { if visible { assert_eq!(anim.to(), 1., "visible tiles can animate alpha only to 1"); } + + assert!( + !alpha.hold_after_done, + "tiles in the layout cannot have held alpha animation" + ); } } } |
