Update Drawing.js

This commit is contained in:
brausjonas
2023-07-07 20:43:16 +02:00
parent 172f281072
commit b65d8b37cc
+2 -1
View File
@@ -417,7 +417,7 @@ export default function Drawing(p) {
flexDirection: "column", flexDirection: "column",
justifyContent: "center", justifyContent: "center",
gap: 5, gap: 5,
alignItems: "center", alignItems: "flex-start",
pointerEvents: "none" pointerEvents: "none"
}}> }}>
@@ -619,6 +619,7 @@ export default function Drawing(p) {
}}/> }}/>
<p style={{ <p style={{
userSelect: "none", userSelect: "none",
marginLeft: 60,
display: ((selectedTool === "selector" || selectedTool === "mover") ? "none" : "block") display: ((selectedTool === "selector" || selectedTool === "mover") ? "none" : "block")
}}>{strokeWidthSliderValue}</p> }}>{strokeWidthSliderValue}</p>
</div> </div>