mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix tags priority
This commit is contained in:
parent
44c92831c0
commit
cea8e8f41d
1 changed files with 2 additions and 1 deletions
|
|
@ -17,8 +17,9 @@ impl Tag {
|
|||
let found = found::new();
|
||||
|
||||
// Init `Self`
|
||||
tag_table.add(¤t);
|
||||
tag_table.add(&found);
|
||||
tag_table.add(¤t); // keep current priority as `current` overwrites `found` tag!
|
||||
// https://docs.gtk.org/gtk4/method.TextTag.set_priority.html
|
||||
|
||||
Self { current, found }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue