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