이미지 편집기 버튼 수정(아이콘 -> 버튼기능명)

main
이범준 10 months ago
parent 57cab7453f
commit 24c36299b1

@ -1417,7 +1417,7 @@ pwlib.gui = function (app) {
button.title = lang.commands[ev.id];
button.type = "button";
button.classList.add('btn');
button.classList.add('blue');
button.classList.add('btn-outline-dark');
button.classList.add('p-1');
button.appendChild(doc.createTextNode(button.title));

@ -23,7 +23,8 @@ let xhtml = `<div xmlns="http://www.w3.org/1999/xhtml">
.paintweb_command. -->
<!--FIXME: 페인트웹 기능 항목 추가/제거-->
<!--<li data-pwCommand="historyRedo">Redo</li>-->
<li data-pwCommand="historyUndo">Undo</li>
<li class="paintweb_buttonStyle" data-pwCommand="historyUndo">Undo</li>
<li class="paintweb_toolSeparator">&#160;</li>
@ -34,9 +35,11 @@ let xhtml = `<div xmlns="http://www.w3.org/1999/xhtml">
<li class="paintweb_toolSeparator">&#160;</li>
<!--<li data-pwCommand="selectionCut">Cut selection</li>-->
<li data-pwCommand="selectionCrop">자르기</li>
<li data-pwCommand="selectionFill">가림막</li>
<li data-pwCommand="selectionForNumberPlate">번호판</li>
<li class="paintweb_buttonStyle" data-pwCommand="selectionCrop">자르기</li>
<li class="paintweb_buttonStyle" data-pwCommand="selectionFill">가림막</li>
<li class="paintweb_buttonStyle" data-pwCommand="selectionForNumberPlate">번호판</li>
<!-- <li data-pwCommand="selectionCopy">선택영역 복사</li> -->
<!--<li data-pwCommand="clipboardPaste">Clipboard paste</li>-->
<!--<li data-pwTool="insertimg">Insert image</li>-->
@ -51,8 +54,7 @@ let xhtml = `<div xmlns="http://www.w3.org/1999/xhtml">
</li>
-->
<li class="paintweb_toolSeparator">&#160;</li>
<li data-pwCommand="imageRotate">Rotate image</li>
<li class="paintweb_buttonStyle" data-pwCommand="imageRotate">Rotate image</li>
<li class="paintweb_buttonStyle" data-pwCommand="imageBright">brighten image</li>
<li class="paintweb_buttonStyle" data-pwCommand="imageDark">darken image</li>
@ -75,7 +77,8 @@ let xhtml = `<div xmlns="http://www.w3.org/1999/xhtml">
<!--<li data-pwTool="eraser">Eraser</li>-->
<!-- <li data-pwCommand="imageClear">Clear image</li> -->
<li data-pwCommand="imageSave">Save image</li>
<li class="paintweb_buttonStyle" data-pwCommand="imageSave">Save image</li>
</ul>

Loading…
Cancel
Save