-
- {nativeCRS
- ? `Native CRS: ${nativeCRS}`
- : "No CRS detected"}
+
+
+
+ { is360Deg &&
+
+ 360° coordinates may behave unexpectedly.
-
-
-
-
-
-
(tempCRS.current = e.target.value)}
- placeholder={`${nativeCRS ? "Update" : "Enter" } native CRS`}
- />
+
+
+ (tempCRS.current = e.target.value)}
+ placeholder={`${nativeCRS ? "Update" : "Enter" } native CRS`}
+ />
+
+ Set native CRS
+
+
+
+
+
+
Target Projection
+
Resolution
+
usePlotStore.setState({ destCRS: e.target.value })}
+ placeholder="Target projection"
+ />
+
{ const val = parseInt(e.target.value); repRes.current = isNaN(val) ? 256 : val; }}
+ placeholder="Resolution"
+ />
+
reproject(repRes.current)}
+ disabled={!destCRS || !nativeCRS || isNaN(repRes.current)}
>
- Set native CRS
+ Reproject
-
-
-
-
Target Projection
-
Resolution
-
usePlotStore.setState({ destCRS: e.target.value })}
- placeholder="Target projection"
- />
-
{ const val = parseInt(e.target.value); repRes.current = isNaN(val) ? 256 : val; }}
- placeholder="Resolution"
- />
-
-
reproject(repRes.current)}
- disabled={!destCRS || !nativeCRS || isNaN(repRes.current)}
- >
- Reproject
-
-
-
+
+
)
}
diff --git a/src/components/ui/MainPanel/AdjustPlot.tsx b/src/components/ui/MainPanel/AdjustPlot.tsx
index bc7656847..c6e2240d5 100644
--- a/src/components/ui/MainPanel/AdjustPlot.tsx
+++ b/src/components/ui/MainPanel/AdjustPlot.tsx
@@ -535,6 +535,7 @@ const GlobalOptions = () =>{
+
{!(analysisMode && axis != 0) && // Hide if Analysismode and Axis != 0
<>
{
const [popoverSide, setPopoverSide] = useState<"left" | "top">("left");
const [open, setOpen] = useState(false);
- const {plotOn} = useGlobalStore(useShallow(s => s))
- const {plotType} = usePlotStore(useShallow(s => s))
+ const {plotOn} = useGlobalStore(useShallow(s => ({plotOn: s.plotOn})))
+ const {plotType} = usePlotStore(useShallow(s => ({plotType: s.plotType})))
useEffect(() => {
const handleResize = () => {
@@ -661,22 +662,27 @@ const AdjustPlot = () => {
-
-
+
+ >
+
+
{plotType === 'volume' && }
{plotType === 'point-cloud' && }
{plotType === 'sphere' && }
{(plotType === 'volume' || plotType === 'point-cloud') && }
{plotType === 'flat' && }
-
diff --git a/src/components/ui/NavBar/ExportImageSettings.tsx b/src/components/ui/NavBar/ExportImageSettings.tsx
index 35e3072c7..d1e3dc529 100644
--- a/src/components/ui/NavBar/ExportImageSettings.tsx
+++ b/src/components/ui/NavBar/ExportImageSettings.tsx
@@ -8,7 +8,7 @@ import { useGlobalStore } from '@/GlobalStates/GlobalStore';
import { usePlotStore } from '@/GlobalStates/PlotStore';
import { useZarrStore } from '@/GlobalStates/ZarrStore';
import { useShallow } from 'zustand/shallow';
-import { ChevronDown } from 'lucide-react';
+import { ChevronDown, ChevronLeft } from 'lucide-react';
import {
Select,
SelectContent,
@@ -120,12 +120,13 @@ const ExportImageSettings = () => {
setMainTitle(e.target.value)}/>
-
-
- setCbarLabel(e.target.value)}/>
-
-
- setCbarUnits(e.target.value)}/>
+
+
+ setCbarLabel(e.target.value)}/>
+
+
+ setCbarUnits(e.target.value)}/>
+
{/* Settings */}
@@ -209,111 +210,125 @@ const ExportImageSettings = () => {
{/* ANIMATION */}
-