Skip to content

Commit

Permalink
Revert changes to example app sizing
Browse files Browse the repository at this point in the history
Remove no longer relevant comment from input
  • Loading branch information
akinsho committed Jan 20, 2019
1 parent 03fd415 commit d6e382e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
9 changes: 1 addition & 8 deletions examples/Examples.re
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,11 @@ let reducer = (s: state, a: action) => {
let init = app => {
let maximized = Environment.webGL;

let size = Monitor.getPrimaryMonitor() |> Monitor.getSize;

let win =
App.createWindow(
app,
"Welcome to Revery!",
~createOptions={
...Window.defaultCreateOptions,
width: size.width,
height: size.height,
maximized,
},
~createOptions={...Window.defaultCreateOptions, maximized},
);

let render = () => {
Expand Down
5 changes: 0 additions & 5 deletions src/UI_Components/Input.re
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,6 @@ let make =
onBlur={() => dispatch(SetFocus(false))}>
<View style=viewStyles>
<Text style=innerTextStyles text=content />
/*
TODO:
1. Show and hide cursor based on focus
2. Add Mouse events
*/
<View style=inputCursorStyles />
</View>
</Clickable>;
Expand Down

0 comments on commit d6e382e

Please sign in to comment.