mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-28 12:04:13 +00:00
fix tags priority
This commit is contained in:
parent
44c92831c0
commit
cea8e8f41d
@ -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…
x
Reference in New Issue
Block a user