Skip to content

Commit 3cef459

Browse files
committed
fix: active if has_tag is 0
1 parent 36dc4d6 commit 3cef459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/view.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ class AbstractStickyNote extends Gtk.TextView {
260260
this.buffer.apply_tag(tag, start, end);
261261
}
262262

263-
this.emit("tag-toggle", tag.name, !has_tag);
263+
this.emit("tag-toggle", tag.name, has_tag === false);
264264
}
265265

266266
clear_tags() {

0 commit comments

Comments
 (0)