Skip to content

Commit

Permalink
Effects: handle no active window state
Browse files Browse the repository at this point in the history
  • Loading branch information
antroids committed Jan 18, 2025
1 parent 4267505 commit a215abe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package/contents/ui/config/effect/effect.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ActiveWindowCondition extends Condition {
}

checkCondition(widget) {
return this.checkActiveWindowCondition(widget.tasksModel.activeWindow);
return widget.tasksModel.hasActiveWindow && this.checkActiveWindowCondition(widget.tasksModel.activeWindow);
}

checkActiveWindowCondition(_activeWindow) {
Expand Down
2 changes: 1 addition & 1 deletion package/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"Id": "com.github.antroids.application-title-bar",
"Name": "Application Title Bar",
"License": "GPL-3.0+",
"Version": "0.8.1",
"Version": "0.8.2",
"Website": "https://github.com/antroids/application-title-bar",
"FormFactors": [
"desktop"
Expand Down

0 comments on commit a215abe

Please sign in to comment.