mirror of
https://github.com/wled/WLED.git
synced 2025-04-24 14:57:18 +00:00
Hide buttons for pixel art and custom palettes
This commit is contained in:
parent
d0c6e7a285
commit
1db6c281b1
@ -168,7 +168,7 @@
|
||||
<input id="hexc" tooltip="Hex RGB" type="text" class="noslide" onkeydown="hexEnter()" autocomplete="off" maxlength="8" />
|
||||
<button id="hexcnf" class="btn btn-xs" onclick="fromHex();"><i class="icons btn-icon"></i></button>
|
||||
</div>
|
||||
<div style="padding: 8px 0;">
|
||||
<div style="padding: 8px 0;" id="btns">
|
||||
<button class="btn btn-xs" tooltip="Pixel Magic Tool" type="button" id="pxmb" onclick="window.location.href=getURL('/pxmagic.htm')"><i class="icons btn-icon"></i></button>
|
||||
<button class="btn btn-xs" tooltip="Add custom palette" type="button" onclick="window.location.href=getURL('/cpal.htm')"><i class="icons btn-icon"></i></button>
|
||||
<button class="btn btn-xs" tooltip="Remove custom palette" type="button" id="rmPal" onclick="palettesData=null;localStorage.removeItem('wledPalx');requestJson({rmcpal:true});setTimeout(loadPalettes,250,loadPalettesData);"><i class="icons btn-icon"></i></button>
|
||||
|
@ -3120,6 +3120,9 @@ function simplifyUI() {
|
||||
|
||||
// Hide filter options
|
||||
gId("filters").style.display = "none";
|
||||
|
||||
// Hide buttons for pixel art and custom palettes (add / delete)
|
||||
gId("btns").style.display = "none";
|
||||
}
|
||||
|
||||
size();
|
||||
|
Loading…
x
Reference in New Issue
Block a user