diff options
author | Aylur <[email protected]> | 2024-06-28 14:26:21 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-06-28 14:26:21 +0200 |
commit | ba5a93c5138a703d5cc4bcae96ac4a6ab0895002 (patch) | |
tree | e8293871a9200eb1fbb004eeceea695343bab4f4 | |
parent | 0f63a5260cfcf8f8f28d8e2dd572f65aebed9fa8 (diff) |
fix(gjs) apply_css
in gjs optional values always requires a null to be passed but in some
cases I feel like its annoying
-rw-r--r-- | gjs/src/application.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gjs/src/application.ts b/gjs/src/application.ts index 4150937..7147856 100644 --- a/gjs/src/application.ts +++ b/gjs/src/application.ts @@ -53,6 +53,10 @@ class AstalJS extends Astal.Application { } } + apply_css(style: string, reset = false) { + super.apply_css(style, reset) + } + start({ requestHandler, css, hold, main, client, ...cfg }: Config = {}) { client ??= () => { print(`Astal instance "${this.instanceName}" already running`) |