We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cc376a commit 6d49a3eCopy full SHA for 6d49a3e
src/extension.ts
@@ -264,10 +264,14 @@ export default class RoundedWindowCorners extends Extension {
264
shadow_clone.y = clone.y + frame_rect.y - actor.y - paddings
265
266
// Should works well work Desktop Cube extensions
267
- clone.connect (
+ const notify_id = clone.connect (
268
'notify::translation-z',
269
() => (shadow_clone.translation_z = clone.translation_z - 0.05)
270
)
271
+ const destroy_id = clone.connect ('destroy', () => {
272
+ clone.disconnect (notify_id)
273
+ clone.disconnect (destroy_id)
274
+ })
275
276
// Add reference shadow clone for clone actor, so that we
277
// can restack position of shadow when we need
0 commit comments