mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Skip hiding already hidden tracks radio buttons
Does not change much, but removes some useless logging
This commit is contained in:
7
src/controls.js
vendored
7
src/controls.js
vendored
@@ -161,9 +161,10 @@ class ClapperControls extends Gtk.Box
|
|||||||
|
|
||||||
while(child || i < array.length) {
|
while(child || i < array.length) {
|
||||||
if(i >= array.length) {
|
if(i >= array.length) {
|
||||||
debug(`hiding unused ${child.type} checkButton nr: ${i}`);
|
if(child.visible) {
|
||||||
child.visible = false;
|
debug(`hiding unused ${child.type} checkButton nr: ${i}`);
|
||||||
|
child.visible = false;
|
||||||
|
}
|
||||||
i++;
|
i++;
|
||||||
child = child.get_next_sibling();
|
child = child.get_next_sibling();
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user