-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Conversation
@@ -38,10 +38,11 @@ | |||
"license": "MIT", | |||
"dependencies": { | |||
"about-window": "^1.15.2", | |||
"micropython.js": "github:murilopolese/micropython.js#v1.2.2", |
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.
@@ -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 comment
The 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 new BrowserWindow()
call?
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.
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.
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.
it all looks good to me
great job 🙏🏼
micropython.js
as a library installed from a repository branchmicropython.js