Skip to content

Commit

Permalink
allow centering
Browse files Browse the repository at this point in the history
  • Loading branch information
lacymorrow committed Jan 27, 2021
1 parent 0e607cc commit dd3c410
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ const moveWindow = direction => {

const aboutWindow = () => {

// console.dir( app.getGPUFeatureStatus() )
// Console.dir( app.getGPUFeatureStatus() )
// Console.dir(app.getAppMetrics());
// app.getGPUInfo('complete').then(completeObj => {
// console.dir(completeObj);
Expand Down
8 changes: 5 additions & 3 deletions src/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,18 @@
const systemModifier = document.querySelector( '#system-modifier' )

// OS Specific
if (window.crossover.isMacOs){
if ( window.crossover.isMacOs ) {

// Set class
document.body.classList.add('mac')
document.body.classList.add( 'mac' )

// Set System Modifier on first load
systemModifier.textContent = 'OPTION'

} else {

systemModifier.textContent = 'ALT'

}

// Render icons
Expand Down

0 comments on commit dd3c410

Please sign in to comment.