+
+ handleChangeRotation([newValue, rotation[1], rotation[2]])}
+ spans={[3, 13, 4, 4]}
+ postComponent={
+ }
+ onClick={() => handleChangeRotation([0, rotation[1], rotation[2]])}
+ />
+ }
+ />
+
+
+ handleChangeRotation([rotation[0], newValue, rotation[2]])}
+ spans={[3, 13, 4, 4]}
+ postComponent={
+ }
+ onClick={() => handleChangeRotation([rotation[0], 0, rotation[2]])}
+ />
+ }
+ />
+
+
+ handleChangeRotation([rotation[0], rotation[1], newValue])}
+ spans={[3, 13, 4, 4]}
+ postComponent={
+ }
+ onClick={() => handleChangeRotation([rotation[0], rotation[1], 0])}
+ />
+ }
+ />
+
+
+
+
+ }
+ iconPosition="end"
+ onClick={() => handleChangeRotation([0, 0, 0])}
+ >
+ Reset all
+
+
+
+
+
+ );
+};
+
+const DatasetRotationPopoverButtonView: React.FC<{ style: React.CSSProperties }> = ({ style }) => {
+ const isFlycamRotated = useWkSelector((state) => isRotated(state.flycam));
+ const maybeWarningStyle = isFlycamRotated ? { ...style, ...warningColors, zIndex: 1 } : style;
+ return (
+