mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2024-12-22 21:52:31 -05:00
Don't import scratch-gui internals
This commit is contained in:
parent
4767897f4b
commit
046c6188f9
2 changed files with 16 additions and 3 deletions
12
src/renderer/app.css
Normal file
12
src/renderer/app.css
Normal file
|
@ -0,0 +1,12 @@
|
|||
/* Adapted from scratch-gui/src/playground/index.css */
|
||||
html,
|
||||
body,
|
||||
.app {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
|
||||
/* Setting min height/width makes the UI scroll below those sizes */
|
||||
min-width: 1024px;
|
||||
min-height: 640px; /* Min height to fit sprite/backdrop button */
|
||||
}
|
|
@ -1,12 +1,13 @@
|
|||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
|
||||
import GUI, {AppStateHOC} from 'scratch-gui';
|
||||
import {defaultProjectId} from 'scratch-gui/src/reducers/project-state';
|
||||
import styles from 'scratch-gui/src/playground/index.css';
|
||||
|
||||
import ElectronStorageHelper from '../common/ElectronStorageHelper';
|
||||
|
||||
import styles from './app.css';
|
||||
|
||||
const defaultProjectId = 0;
|
||||
|
||||
// Register "base" page view
|
||||
// analytics.pageview('/');
|
||||
|
||||
|
|
Loading…
Reference in a new issue