-
-
Notifications
You must be signed in to change notification settings - Fork 37
Update micropython.js and initial windows width #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ function store(state, emitter) { | |
const disk = window.BridgeDisk | ||
const win = window.BridgeWindow | ||
|
||
win.setWindowSize(700, 640) | ||
win.setWindowSize(720, 640) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do we need to set the window's size when it's already set in its initial There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's because the app sets a default global screen constraints and the UI can "request" new window constraints. In this case particularly it's the same value. |
||
|
||
state.ports = [] | ||
state.diskFiles = [] | ||
|
@@ -187,7 +187,6 @@ function store(state, emitter) { | |
let content = '' | ||
if (state.selectedDevice === 'serial') { | ||
content = await serial.loadFile(filename) | ||
content = content.replace(//g, ``) // XXX: Remove character that breaks execution | ||
} | ||
|
||
if (state.selectedDevice === 'disk') { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so now the
micropython.js
is a module brought in from your repo?interesting :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, I would propose so. In the future it should be a npm package under the Arduino organization, I believe.