mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-12 21:51:20 +00:00
rename variable
This commit is contained in:
parent
2b12fe207f
commit
572d5af387
@ -102,9 +102,9 @@ impl Tab {
|
||||
|
||||
controller.connect_pressed({
|
||||
let label = label.clone();
|
||||
move |_, n: i32, _, _| {
|
||||
move |_, count, _, _| {
|
||||
// double click
|
||||
if n == 2 {
|
||||
if count == 2 {
|
||||
label.pin(!label.is_pinned()); // toggle
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user