Commit graph

29 commits

Author SHA1 Message Date
Joel Collins
6ddbb1f765 Code formatting 2020-05-26 10:03:26 +01:00
Richard Bowman
b0903f93ff Account for scale-to-fit in image stream
Clicking the image was being scaled incorrectly, because the code assumed the image filled
the <img> element.  However, with CSS scale-to-fit
(content-fit: contain), that's not a good assumption.
This commit adds logic to scale the click coordinates properly.
2020-05-21 14:08:23 +01:00
Joel Collins
01fcb4f7e5 Fixed comment 2020-05-14 17:34:57 +01:00
Joel Collins
ae79449ad0 Separated previewRequest from safePreviewRequest 2020-05-14 17:31:23 +01:00
Joel Collins
703825d397 Changed follow-up request to after 250ms 2020-05-14 17:22:31 +01:00
Joel Collins
0fd19058d4 Include a follow-up start-preview request to circumvent stop-start request leapfrogging 2020-05-14 17:20:55 +01:00
Joel Collins
6601e95246 If not all streams are closed, don't stop GPU preview 2020-05-14 15:45:18 +01:00
Joel Collins
9623deece0 First draft fixing GPU preview toggling 2020-05-14 15:31:19 +01:00
Joel Collins
9f55085f20 Only have a single stream connection open at a time 2020-05-14 14:17:02 +01:00
Richard Bowman
aebec9b116 Merge branch 'master' into click_to_move 2020-04-10 15:32:10 +01:00
Joel Collins
c5fa0dec03 Added capture to global keyboard shortcuts 2020-03-30 15:53:53 +01:00
Richard Bowman
0e88ad130b Use new click-to-move API route
This modifies the client to use the new move_in_image_coordinates API route
provided by the camera_stage_mapping plugin.

NB I've not yet deleted vestigial code relating to the "FoV" property.
2020-03-25 05:50:42 +00:00
Joel Collins
36ca532c2b Reformatted 2020-01-30 16:46:27 +00:00
Joel Collins
b9ae730c73 Updated to new metadata semantics 2020-01-29 17:53:14 +00:00
Joel Collins
7b97e6c365 Fixed layout 2019-11-28 10:30:53 +00:00
Joel Collins
92b399e644 Remove global event listeners before destroy 2019-11-27 16:06:35 +00:00
Joel Collins
3bf804011b Fixed FOV never updating 2019-11-27 14:47:55 +00:00
Joel Collins
39d45bc749 Updated host links to use store baseUri 2019-11-27 11:32:00 +00:00
Joel Collins
fa01015756 Tidied up 2019-11-22 16:10:01 +00:00
Joel Collins
75738c86b1 Get FOV from API v2 2019-11-22 16:03:33 +00:00
Joel Collins
495220cabb Upgraded stream to API v2 2019-11-22 13:48:51 +00:00
Joel Collins
ebcb938da1 Great big ESLint 2019-11-11 16:33:43 +00:00
Joel Collins
051eabbdc3 (FINALLY) fixed duplicate move request bug 2019-11-11 15:00:41 +00:00
Joel Collins
9ac71a081b Added stream flash animation on capture. Closes #43 2019-11-04 16:49:28 +00:00
jtc42
0f23c93ae8 Halved resize timeout 2019-06-11 09:39:36 +01:00
jtc42
5a9857d215 Tidied up recalculateSize 2019-06-11 09:37:47 +01:00
Joel Collins
a343d17053 Tidied up streamDisplay a bit 2019-06-10 21:51:05 +01:00
Joel Collins
e0d3169385 Fixed typo 2019-06-10 21:38:08 +01:00
jtc42
b9651298fc Moved to a single ResizeObserver to manage element resizing 2019-06-10 19:26:40 +01:00