Update Drawing.js
This commit is contained in:
+14
-15
@@ -499,6 +499,18 @@ export default function Drawing(p) {
|
|||||||
}} value={nameInput} onChange={e => {
|
}} value={nameInput} onChange={e => {
|
||||||
setNameInput(e.currentTarget.value)
|
setNameInput(e.currentTarget.value)
|
||||||
}}/>
|
}}/>
|
||||||
|
|
||||||
|
{/*Color Selector*/}
|
||||||
|
<input type={"color"}
|
||||||
|
style={{
|
||||||
|
pointerEvents: "auto",
|
||||||
|
borderWidth: 0,
|
||||||
|
borderRadius: 5,
|
||||||
|
boxShadow: "0 0 5px gray",
|
||||||
|
|
||||||
|
}} onChange={e => {
|
||||||
|
setColorValue(e.target.value)
|
||||||
|
}} value={colorValue}/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style={{
|
<div style={{
|
||||||
@@ -674,20 +686,6 @@ export default function Drawing(p) {
|
|||||||
handleToolChange(e)
|
handleToolChange(e)
|
||||||
}}/>
|
}}/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/*Color Selector*/}
|
|
||||||
<input type={"color"}
|
|
||||||
style={{
|
|
||||||
pointerEvents: "auto",
|
|
||||||
borderWidth: 0,
|
|
||||||
borderRadius: 5,
|
|
||||||
boxShadow: "0 0 5px gray",
|
|
||||||
marginLeft: 20,
|
|
||||||
marginRight: 40
|
|
||||||
|
|
||||||
}} onChange={e => {
|
|
||||||
setColorValue(e.target.value)
|
|
||||||
}} value={colorValue}/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@@ -726,7 +724,8 @@ export default function Drawing(p) {
|
|||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
gap: 5
|
gap: 5,
|
||||||
|
marginTop: 20
|
||||||
}}>
|
}}>
|
||||||
|
|
||||||
{/*save button*/}
|
{/*save button*/}
|
||||||
|
|||||||
Reference in New Issue
Block a user