ADD: working button to control boolean float
This commit is contained in:
4
prefs.ts
4
prefs.ts
@@ -22,7 +22,7 @@ export default class GnomeRectanglePreferences extends ExtensionPreferences {
|
||||
|
||||
const animationEnabled = new Adw.SwitchRow({
|
||||
title: _("Enabled"),
|
||||
subtitle: _("Wether to animate windows"),
|
||||
subtitle: _("Floating Window"),
|
||||
});
|
||||
animationGroup.add(animationEnabled);
|
||||
|
||||
@@ -45,7 +45,7 @@ export default class GnomeRectanglePreferences extends ExtensionPreferences {
|
||||
|
||||
window.add(page);
|
||||
|
||||
this._settings!.bind("animate", animationEnabled, "active", Gio.SettingsBindFlags.DEFAULT);
|
||||
this._settings!.bind("float", animationEnabled, "active", Gio.SettingsBindFlags.DEFAULT);
|
||||
this._settings!.bind("padding-inner", paddingInner, "value", Gio.SettingsBindFlags.DEFAULT);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user