mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
rename variable
This commit is contained in:
parent
2b12fe207f
commit
572d5af387
1 changed files with 2 additions and 2 deletions
|
|
@ -102,9 +102,9 @@ impl Tab {
|
||||||
|
|
||||||
controller.connect_pressed({
|
controller.connect_pressed({
|
||||||
let label = label.clone();
|
let label = label.clone();
|
||||||
move |_, n: i32, _, _| {
|
move |_, count, _, _| {
|
||||||
// double click
|
// double click
|
||||||
if n == 2 {
|
if count == 2 {
|
||||||
label.pin(!label.is_pinned()); // toggle
|
label.pin(!label.is_pinned()); // toggle
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue