mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
fix tags priority
This commit is contained in:
parent
77e5ba367e
commit
b0d4cf03c8
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue