p5.js-web-editor/client
Marton Soos 3bf3fe1452 Fix multiple file options showing up (#987) (#988)
* Fix multiple file options showing up (#987)

This change ensures that the file options composite widget is
hidden if and only if none of its components is in focus. This
is achieved by having a variable keep track of the state of
the composite widget (in focus / not in focus).

* Fix #987

Modified fix for #987 according to the requested changes.
Moved isFocused to the components state and created a method
for hadling the function calls executed in onBlur.

* Fix #987 - final touches

Renamed method blurComponent to onBlurComponent. Moved duplicated
code from onFocus callback to a new method called onFocusComponent.
2019-03-27 15:52:57 -04:00
..
__test__/mocks Add jest/enzyme and a simple unit test 2019-01-25 17:21:10 -05:00
components Added autoOpen items on hover (#900) 2019-03-27 12:50:55 -04:00
images fixes #802 (#809) 2019-01-16 12:35:34 -05:00
modules Fix multiple file options showing up (#987) (#988) 2019-03-27 15:52:57 -04:00
sounds replace alert sound 2016-08-28 15:55:19 -04:00
styles Added autoOpen items on hover (#900) 2019-03-27 12:50:55 -04:00
utils fixes #906 (#931) 2019-03-20 17:53:03 -04:00
constants.js Merge branch 'master' into feature/remove-indentation-options 2019-03-26 15:38:58 -04:00
index.jsx Corrected the logo problem by adding it to the static files (#708) 2018-10-02 21:03:33 -04:00
persistState.js Persists Redux store to/from sessionStorage (#334) 2017-04-20 14:05:15 -04:00
reducers.js Create Asset List View and refactor overlay code (#356) 2017-07-11 17:37:43 +02:00
routes.jsx Fixes #692 (#713) 2018-10-18 14:10:37 -04:00
store.js load client-side environment variables at runtime 2018-08-24 17:41:23 -04:00