Modify ViewportCanvas to handle non-normal display modes
This commit is contained in:
@@ -216,7 +216,7 @@ export function ViewportCanvas({
|
|||||||
data-active={isActivePanel ? "true" : "false"}
|
data-active={isActivePanel ? "true" : "false"}
|
||||||
aria-label={`${getViewportPanelLabel(panelId)} editor viewport`}
|
aria-label={`${getViewportPanelLabel(panelId)} editor viewport`}
|
||||||
style={
|
style={
|
||||||
displayMode === "authoring"
|
displayMode !== "normal"
|
||||||
? {
|
? {
|
||||||
backgroundColor: "#000000",
|
backgroundColor: "#000000",
|
||||||
backgroundImage: "none"
|
backgroundImage: "none"
|
||||||
|
|||||||
Reference in New Issue
Block a user