Merge pull request #77 from storytold/feature/control-panel_scene-object

number input for now
This commit is contained in:
wil authored and GitHub committed 2024-04-02 21:58:04 -04:00
commit 233ef258b3
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -37,6 +37,7 @@ export const InputVector = ({ x, y, z, onChange }: InputVectorProps) => {
>
<input
className={twMerge(inputCommonClasses, "focus:outline-axis-x")}
type="number"
onChange={handleOnChange}
ref={xRef}
value={x}
@@ -50,6 +51,7 @@ export const InputVector = ({ x, y, z, onChange }: InputVectorProps) => {
>
<input
className={twMerge(inputCommonClasses, "focus:outline-axis-y")}
type="number"
onChange={handleOnChange}
ref={yRef}
value={y}
@@ -63,6 +65,7 @@ export const InputVector = ({ x, y, z, onChange }: InputVectorProps) => {
>
<input
className={twMerge(inputCommonClasses, "focus:outline-axis-z")}
type="number"
onChange={handleOnChange}
ref={zRef}
value={z}
@@ -75,7 +75,7 @@ export const ControlsTopButtons = () => {
type: APPUI_ACTION_TYPES.SHOW_CONTROLPANELS_SCENEOBJECT,
payload: {
group: ClipGroup.OBJECT,
object_name: "",
object_name: "TEST BUTTON",
object_uuid: "",
version: "1",
objectVectors: {