This commit is contained in:
Mirco Wittrien 2020-02-14 18:53:12 +01:00
parent 180f37a6ef
commit 9a5066f5a7
2 changed files with 3 additions and 3 deletions

View File

@ -2718,8 +2718,8 @@
let sMinX, sMaxX, sMinY, sMaxY, hMinX, hMaxX, aMinX, aMaxX, gMinX, gMaxX;
updateRects();
if (isGradient) for (let pos in color) if (pos > 0 && pos < 1) gradientpane.appendChild(BDFDB.DOMUtils.create(`<div class="gradient-cursor" style="position: absolute; left: ${pos * 100}%;"><div style="background-color: ${color[pos]} !important;"></div></div>`));
if (isGradient) for (let pos in color) if (pos > 0 && pos < 1) gradientpane.appendChild(BDFDB.DOMUtils.create(`<div class="gradient-cursor" style="position: absolute; left: ${pos * 100}%;"><div style="background-color: ${BDFDB.ColorUtils.convert(color[pos], "RGBA")} !important;"></div></div>`));
updateColors(false);

File diff suppressed because one or more lines are too long