Commit Graph
7 Commits
Author SHA1 Message Date
adroitwhiz e23e29b027 whitespace tweak 2019-01-02 20:54:52 -05:00
adroitwhiz 50b7d3ad53 Round off getStageDimensions() 2019-01-02 20:54:36 -05:00
Eric Rosenbaum a924340089 Add an indicator to show that the microphone is listening (#3205)
* Add mic indicator

* Fix mic indicator position and margin

* Don’t always show indicator, don’t sneaky-enable extension

* Position mic indicator in RTL

* Actually, don’t move indicator in RTL

* Update event name for MIC_LISTENING

* Move mic indicator state into redux

* Move stageSizeToTransform into screen-utils

* Position mic indicator and question at bottom of stage

* Fix pointer events

* JSDOC for stageSizeToTransform

* Pass micIndicator into StageComponent via …props
2018-09-26 17:59:30 -04:00
Ben Wheeler 7de2280bd2 padding and margin changes to make www project page layout work without hacks; hack to position monitors correctly 2018-08-12 00:40:22 -04:00
Christopher Willis-Ford f57295d08c Split STAGE_SIZE enum into two & clarify purposes
Also remove some obsolete code
2018-06-12 01:15:03 -07:00
Christopher Willis-Ford cfb55514b5 Implement all staging logic in terms of stageSize
Pass a `stageSize` property down from a centralized `MediaQuery` in the
GUI component, and control the size of the stage and all surrounding
elements based on that value. Note that this is a pure property and is
not stored in the Redux state, since we gain access to the results of
the media query during `render()` and we shouldn't change Redux state
during `render()`.

Some stage-adjacent elements don't yet react correctly to the smallest
stage size.
2018-06-12 01:15:01 -07:00
Josiah Neuberger 481db33d23 center/size stage-header controls in the same way as stage in fullscreen 2018-01-07 15:03:46 -05:00