Revert "Modifications"

This reverts commit ba49da75de.
This commit is contained in:
Alerson Jorge 2023-10-16 01:15:21 -03:00
parent ba49da75de
commit 7a4e0cc850
5 changed files with 2490 additions and 2527 deletions

View File

@ -271,12 +271,25 @@ button {
transform: translate(-50%,-50%); transform: translate(-50%,-50%);
} }
#pxm {
display: none;
width: 100%;
height: 100%;
border: 0;
position: absolute;
}
#ipxm { #ipxm {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative; position: relative;
} }
.btn-pxm {
width: 100% !important;
margin: 10px 0 !important;
}
.tab { .tab {
background-color: transparent; background-color: transparent;
color: var(--c-d); color: var(--c-d);

View File

@ -201,7 +201,6 @@
<div style="padding-bottom: 10px;"> <div style="padding-bottom: 10px;">
<button class="btn btn-xs" type="button" onclick="window.location.href=getURL('/cpal.htm')"><i class="icons btn-icon">&#xe18a;</i></button> <button class="btn btn-xs" type="button" onclick="window.location.href=getURL('/cpal.htm')"><i class="icons btn-icon">&#xe18a;</i></button>
<button class="btn btn-xs" type="button" onclick="palettesData=null;localStorage.removeItem('wledPalx');requestJson({rmcpal:true});setTimeout(loadPalettes,250,loadPalettesData);"><i class="icons btn-icon">&#xe037;</i></button> <button class="btn btn-xs" type="button" onclick="palettesData=null;localStorage.removeItem('wledPalx');requestJson({rmcpal:true});setTimeout(loadPalettes,250,loadPalettesData);"><i class="icons btn-icon">&#xe037;</i></button>
<button class="btn btn-xs" type="button" onclick="togglePixelMagicTool()" id="bpxm"><i class="icons btn-icon">&#xe410;</i></button>
</div> </div>
</div> </div>
</div> </div>

View File

@ -2055,13 +2055,12 @@ function resetPUtil()
{ {
gId('psFind').classList.add('staytop'); gId('psFind').classList.add('staytop');
let p = gId('putil'); let p = gId('putil');
let dpxm = cfg.comp.pxm ? "inline-block" : "none";
p.classList.add('staybot'); p.classList.add('staybot');
p.classList.remove('pres'); p.classList.remove('pres');
p.innerHTML = `<button class="btn btn-s" onclick="makePUtil()" style="float:left;"><i class="icons btn-icon">&#xe18a;</i>Preset</button>` p.innerHTML = `<button class="btn btn-s" onclick="makePUtil()" style="float:left;"><i class="icons btn-icon">&#xe18a;</i>Preset</button>`
+ `<button class="btn btn-s" onclick="makePlUtil()" style="float:right;"><i class="icons btn-icon">&#xe18a;</i>Playlist</button>`; + `<button class="btn btn-s" onclick="makePlUtil()" style="float:right;"><i class="icons btn-icon">&#xe18a;</i>Playlist</button>`
+ `<button class="btn btn-pxm" id="buttonPixelMagicTool" onclick="togglePixelMagicTool()" style="display: ${dpxm};"><i class="icons btn-icon">&#xe410;</i>Pixel Magic Tool</button>`;
let dpxm = cfg.comp.pxm ? "block" : "none";
gId('bpxm').style.display = dpxm;
} }
function tglCs(i) function tglCs(i)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff