mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-14 22:02:36 +00:00
make letterbox always visible
This commit is contained in:
1 parent
d8dab1a66e
commit
010e3be5dc
1 file changed
+6
-6
@@ -22,10 +22,10 @@ export const Letterbox = ({
|
||||
}) => {
|
||||
useSignals();
|
||||
|
||||
if (editorState.value !== EditorStates.CAMERA_VIEW || !isShowing) {
|
||||
//case of Letterbox should not show
|
||||
return;
|
||||
}
|
||||
// if (editorState.value !== EditorStates.CAMERA_VIEW || !isShowing) {
|
||||
// //case of Letterbox should not show
|
||||
// return;
|
||||
// }
|
||||
|
||||
const matteOri = getMatteOrientation({
|
||||
camAspect: cameraAspectRatio.value,
|
||||
@@ -73,14 +73,14 @@ const Matte = ({
|
||||
if (matteOri === MatteOrientation.TOP_BOTTOM) {
|
||||
return (
|
||||
<div
|
||||
className="h-20 w-full bg-brand-secondary/50 brightness-75"
|
||||
className="h-20 w-full bg-black/30 brightness-75"
|
||||
style={{ height: `${height}px` }}
|
||||
/>
|
||||
);
|
||||
}
|
||||
return (
|
||||
<div
|
||||
className="h-full w-80 bg-brand-secondary/50 brightness-75"
|
||||
className="h-full w-80 bg-black/30 brightness-75"
|
||||
style={{ width: `${width}px` }}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user