Desktop settings button now shows when using shift-full screen (#4326)

This commit is contained in:
Ylian Saint-Hilaire 2022-07-28 15:39:47 -07:00
parent 4f89501285
commit ae112c64e3

View File

@ -8540,7 +8540,6 @@
QV('DeskBackgroundButton', inputAllowed && (deskState == 3) && (desktop.contype == 1) && (currentNode.agent) && (currentNode.agent.id != 11) && (currentNode.agent.id != 16) && online); QV('DeskBackgroundButton', inputAllowed && (deskState == 3) && (desktop.contype == 1) && (currentNode.agent) && (currentNode.agent.id != 11) && (currentNode.agent.id != 16) && online);
QV('DeskControlSpan', inputAllowed) QV('DeskControlSpan', inputAllowed)
QV('DeskRefreshButton', (deskState == 3) && (desktop.contype == 1)) QV('DeskRefreshButton', (deskState == 3) && (desktop.contype == 1))
QV('deskActionsSettings', (browserfullscreen == false));
if (rights & 8) { Q('DeskControl').checked = (getstore('DeskControl', 1) == 1); } else { Q('DeskControl').checked = false; } if (rights & 8) { Q('DeskControl').checked = (getstore('DeskControl', 1) == 1); } else { Q('DeskControl').checked = false; }
QS('DeskControlSpan').color = Q('DeskControl').checked?null:'red'; QS('DeskControlSpan').color = Q('DeskControl').checked?null:'red';