Skip to content

Commit

Permalink
Fix export history menu item and editor format size
Browse files Browse the repository at this point in the history
  • Loading branch information
karaggeorge committed Aug 19, 2020
1 parent a1882f2 commit 1019b42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions main/menus.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ const aboutItem = {

let isExportsItemEnabled = false;

const exportHistoryItem = {
const getExportHistoryItem = () => ({
label: 'Export History',
click: openExportsWindow,
enabled: isExportsItemEnabled,
id: 'exports'
};
});

const preferencesItem = {
label: 'Preferences…',
Expand Down Expand Up @@ -163,7 +163,7 @@ const getCogMenuTemplate = async () => [
type: 'separator'
},
openFileItem,
exportHistoryItem,
getExportHistoryItem(),
{
type: 'separator'
},
Expand Down Expand Up @@ -221,7 +221,7 @@ const appMenuTemplate = [
{
type: 'separator'
},
exportHistoryItem,
getExportHistoryItem(),
{
type: 'separator'
},
Expand Down
2 changes: 1 addition & 1 deletion renderer/components/editor/options/right.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class RightOptions extends React.Component {
.format {
height: 24px;
width: 96px;
width: 104px;
margin-right: 8px;
}
Expand Down

0 comments on commit 1019b42

Please sign in to comment.