Skip to content

Commit e22f48c

Browse files
author
Ives van Hoorne
committed
Fix position of view icon when hovering
1 parent 73aab24 commit e22f48c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/sandbox/ModeIcons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const getCurrentMode = ({
127127
if (showEditor && !showPreview)
128128
return { currentMode: editor, otherModes: [both, preview] };
129129
if (!showEditor && showPreview)
130-
return { currentMode: preview, otherModes: [both, editor] };
130+
return { currentMode: preview, otherModes: [editor, both] };
131131

132132
return { currentMode: both, otherModes: [editor, preview] };
133133
};

0 commit comments

Comments
 (0)