mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
toggle pin status outside
This commit is contained in:
parent
1da7756374
commit
a1cf47fb1f
2 changed files with 7 additions and 12 deletions
|
|
@ -34,7 +34,7 @@ impl Tab {
|
|||
move |_, n: i32, _, _| {
|
||||
// double click
|
||||
if n == 2 {
|
||||
label.pin();
|
||||
label.pin(!label.is_pinned()); // toggle
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue