Commit Graph
6 Commits
Author SHA1 Message Date
Aakansha DoshiandGitHub 0c2aa951d6 refactor toolbutton.tsx - add default props (#1492) 2020-04-29 17:13:29 +02:00
Aakansha DoshiandGitHub 1866074c07 Add Zen mode for distraction free drawing (#1450) 2020-04-25 15:13:02 +02:00
ff0ecb5e33 add always visible lock icon on top right to show info about e… (#1403)
* improvement(layerui.js): add lock icon on top right to show encrypted info about excalidraw

fixes https://github.com/excalidraw/excalidraw/issues/1313

* swap lock with shield

* fix dimensions

* make link open in new tab

* add newline between toolip text and link

* increase tooltip line-height

* remove unused GitHubCorner compo

* reposition; reintroduce GH icon

* make shield into link

* make tooltip not show when drawing

* Review fix

* remove link from tooltip

Co-authored-by: dwelle <luzar.david@gmail.com>
2020-04-17 22:39:15 +02:00
Aakansha DoshiandGitHub a18342b5b5 Refactor LayerUI (#1434)
* chore(gitignore): add .idea to gitignore

* refactor(layerui): pass named function to react.memo so that in dev tools the name shows up

This makes debugging easier as well

* refactor(layerui): break the functional component into multiple render methods
2020-04-17 22:24:19 +02:00
Aakansha DoshiandGitHub 227ff60909 refactor(app.tsx): move Portal to new file and some refactoring (#1398) 2020-04-12 12:54:52 +02:00
Aakansha DoshiandGitHub e98fba38be refactor(app.tsx): use constants instead of hard coded strings for better readablility (#1391)
don't use inline function as it will create a new refrence everytime
2020-04-11 17:42:02 -07:00