fix: fix canvas height setting input
This commit is contained in:
parent
263e8ba535
commit
e945efaa3c
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
const updateCanvasHeight = (event) => {
|
const updateCanvasHeight = (event) => {
|
||||||
const elem = event.target;
|
const elem = event.target;
|
||||||
store.renderer.resize(elem.value, store.renderer.width);
|
store.renderer.resize(store.renderer.width, elem.value);
|
||||||
};
|
};
|
||||||
|
|
||||||
const updateCanvasWidth = (event) => {
|
const updateCanvasWidth = (event) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user