fix: Enhance multiframe instance handling and improve instance valida… (#5956)
fix: Enhance multiframe instance handling and improve instance validation - Updated `getDisplaySetInfo` to ensure local file frame imageIds resolve correctly, falling back to the source multiframe instance when necessary. - Improved instance filtering in `isDisplaySetReconstructable` to handle undefined instances more robustly. - Modified `App` prop types to make `routerBasename` optional and added new props for loading indicators and data sources. - Refactored `CinePlayer` component to replace Button with a div for better accessibility and interaction.
This commit is contained in:
1 parent
3069d33c99
commit
f5a66b9eea
4 files changed
+30
-15
No files matched your search
@@ -103,9 +103,10 @@ const CinePlayer: React.FC<CinePlayerProps> = ({
|
||||
onOpenChange={setPopoverOpen}
|
||||
>
|
||||
<PopoverTrigger asChild>
|
||||
<Button
|
||||
variant="ghost"
|
||||
className="h-full border-none bg-transparent p-0 hover:bg-transparent"
|
||||
<div
|
||||
role="button"
|
||||
tabIndex={0}
|
||||
className="h-full cursor-pointer border-none bg-transparent p-0"
|
||||
>
|
||||
<Numeric.Container
|
||||
mode="stepper"
|
||||
@@ -129,7 +130,7 @@ const CinePlayer: React.FC<CinePlayerProps> = ({
|
||||
</div>
|
||||
</Numeric.NumberStepper>
|
||||
</Numeric.Container>
|
||||
</Button>
|
||||
</div>
|
||||
</PopoverTrigger>
|
||||
<PopoverContent
|
||||
side="bottom"
|
||||
|
||||
Reference in new issue
Block a user