Skip to content

Commit 55ab78e

Browse files
committed
Move indicator to the left, switch back to gear icon
1 parent 3ac6c95 commit 55ab78e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

client/modules/IDE/components/Editor/index.jsx

-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ import UnsavedChangesIndicator from '../UnsavedChangesIndicator';
7272
import { EditorContainer, EditorHolder } from './MobileEditor';
7373
import { FolderIcon } from '../../../../common/icons';
7474
import IconButton from '../../../../common/IconButton';
75-
import VersionIndicator from '../VersionIndicator';
7675

7776
emmet(CodeMirror);
7877

client/modules/IDE/components/Header/Toolbar.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ const Toolbar = (props) => {
114114
return null;
115115
})()}
116116
</div>
117-
<div style={{ flex: 1 }} />
118117
<VersionIndicator />
118+
<div style={{ flex: 1 }} />
119119
<button
120120
className={preferencesButtonClass}
121121
onClick={() => dispatch(openPreferences())}

client/modules/IDE/components/VersionIndicator.jsx

+5-4
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import { useDispatch } from 'react-redux';
55
import { openPreferences } from '../actions/ide';
66
import { setPreferencesTab } from '../actions/preferences';
77
import { prop } from '../../../theme';
8-
import EditIcon from '../../../images/pencil.svg';
8+
import EditIcon from '../../../images/preferences.svg';
99

1010
import { useP5Version } from '../hooks/useP5Version';
1111

1212
const VersionPickerButton = styled.button`
1313
color: ${prop('Button.primary.default.foreground')};
14-
margin-right: 1rem;
14+
margin-left: 1rem;
1515
1616
&:hover {
1717
color: ${prop('Button.primary.hover.background')} !important;
@@ -20,8 +20,9 @@ const VersionPickerButton = styled.button`
2020
& svg {
2121
vertical-align: middle;
2222
margin-bottom: 2px;
23-
width: 1.5rem;
24-
height: 1.5rem;
23+
width: 1rem;
24+
height: 1rem;
25+
margin-left: 0.25rem;
2526
}
2627
2728
&:hover path {

0 commit comments

Comments
 (0)