mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 01:00:02 +00:00
fix tags priority
This commit is contained in:
parent
77e5ba367e
commit
b0d4cf03c8
@ -20,7 +20,7 @@ impl Tag {
|
||||
// Init tag table
|
||||
// keep order as `current` should overwrite `found` tag style
|
||||
// https://docs.gtk.org/gtk4/method.TextTag.set_priority.html
|
||||
for &tag in &[¤t, &found] {
|
||||
for &tag in &[&found, ¤t] {
|
||||
if !table.add(tag) {
|
||||
todo!()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user