mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Add zindex to panel (#736)
* Add z-index options back to panel * Add formatting for z-index panel buttons * make z-index buttons all the same width * make z-index button spacing even * use svg icons & translations * add ui legend Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
parent
b09373acf7
commit
471ea4a747
4 changed files with 151 additions and 1 deletions
|
@ -275,6 +275,16 @@ const LayerUI = React.memo(
|
|||
|
||||
{actionManager.renderAction("changeOpacity")}
|
||||
|
||||
<fieldset>
|
||||
<legend>{t("labels.layers")}</legend>
|
||||
<div className="buttonList">
|
||||
{actionManager.renderAction("sendToBack")}
|
||||
{actionManager.renderAction("sendBackward")}
|
||||
{actionManager.renderAction("bringToFront")}
|
||||
{actionManager.renderAction("bringForward")}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
{actionManager.renderAction("deleteSelectedElements")}
|
||||
</div>
|
||||
</Island>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue