Skip to content

Commit

Permalink
Modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
ajotanc committed Oct 16, 2023
1 parent 4194e66 commit ba49da7
Show file tree
Hide file tree
Showing 5 changed files with 2,527 additions and 2,490 deletions.
13 changes: 0 additions & 13 deletions wled00/data/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -271,25 +271,12 @@ button {
transform: translate(-50%,-50%);
}

#pxm {
display: none;
width: 100%;
height: 100%;
border: 0;
position: absolute;
}

#ipxm {
width: 100%;
height: 100%;
position: relative;
}

.btn-pxm {
width: 100% !important;
margin: 10px 0 !important;
}

.tab {
background-color: transparent;
color: var(--c-d);
Expand Down
1 change: 1 addition & 0 deletions wled00/data/index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
<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="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>
Expand Down
7 changes: 4 additions & 3 deletions wled00/data/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2055,12 +2055,13 @@ function resetPUtil()
{
gId('psFind').classList.add('staytop');
let p = gId('putil');
let dpxm = cfg.comp.pxm ? "inline-block" : "none";
p.classList.add('staybot');
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>`
+ `<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>`;
+ `<button class="btn btn-s" onclick="makePlUtil()" style="float:right;"><i class="icons btn-icon">&#xe18a;</i>Playlist</button>`;

let dpxm = cfg.comp.pxm ? "block" : "none";
gId('bpxm').style.display = dpxm;
}

function tglCs(i)
Expand Down
Loading

0 comments on commit ba49da7

Please sign in to comment.