rename variable

This commit is contained in:
yggverse 2024-10-06 16:30:41 +03:00
parent 2b12fe207f
commit 572d5af387

View File

@ -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
}
}