Commit Graph

79 Commits

Author SHA1 Message Date
e43d39a8fd Fixed panning for real, added option to reverse mouse settings. 2018-12-03 00:31:28 +01:00
5043190441 Panning works again (while holding shift) 2018-12-02 23:51:34 +01:00
e1847f93b7 Fixed video alignment when video is aligned to left or right, not center 2018-11-17 00:11:07 +01:00
c6e3689d0d Fixed video alignment 2018-11-16 23:02:56 +01:00
c3d71cd1e7 Extension basic mode more or less works. Added fix for sites that center stuff with 'top: 50; left: 50, translate(-50, -50)' 2018-11-02 23:10:42 +01:00
48da83b75d Basic mode: ar resets properly when switching from fullscreen to normal 2018-11-02 21:51:51 +01:00
985e285914 Basic mode works when switching to full screen (on clips.twitch)
doesn't work when we go back from the full screen mode tho
2018-11-02 21:19:34 +01:00
7036799e9f Pan: eventhandler unbinding. Fixed 'reset zoom' in popup 2018-09-23 19:47:18 +02:00
79f5ae01de Various fixes. Release version for reals 2018-09-23 02:39:27 +02:00
afb595d8c0 popup picks up current zoom level 2018-09-21 00:26:08 +02:00
f265799e3c commands for setting zoom from the popup, zoom is logarithmic/exponential rather than linear 2018-09-18 23:37:33 +02:00
4965529de9 Updating settings backthing stuff for new popup 2018-09-17 00:39:32 +02:00
063a803933 Zooming and panning kinda works 2018-09-13 23:47:20 +02:00
0c37c5a0e1 Popup and settings work, but all scripts can run doubly if uw.init() was called twice 2018-08-30 00:56:26 +02:00
6c93a19248 Misc fixes 2018-08-29 00:41:26 +02:00
a5aa282a01 CSS watcher reimplemented, seems to be working (fix #43) 2018-08-21 00:48:15 +02:00
b3079a81ea #42: GlobalVars is gone. 2018-08-20 22:45:43 +02:00
966f8a034d Rewrote Settings.js, did some cleanup with legacy stuff. 2018-08-05 23:48:56 +02:00
6c458d7590 fixed issue with video alignment not working 2018-07-15 16:22:32 +02:00
43d1b02303 using basic stretching should pause aspect ratio autodetection 2018-07-11 23:13:40 +02:00
37b59f19ab Fixed aspect ratio flip-flopping in fallbackMode (kinda. it's a workaround) 2018-07-11 00:01:44 +02:00
a4f0c9db4d basic stretch mode fixed 2018-07-10 20:36:12 +02:00
c5debb40a7 Fixed basic stretching 2018-06-15 00:33:10 +02:00
8e1687a5b6 stretch mode is in stretcher now 2018-05-30 23:20:23 +02:00
0871ad6d97 Stretch mode buttons work 2018-05-27 21:41:08 +02:00
e2d43fb46d Cropping video now uses scale() and translate() 2018-05-25 21:37:09 +02:00
748ed8293d Fixed function calls in Resizer.js (zoom and stretcher). ApplyConditionalStretch, computeOffsets and applyCss are still TODO 2018-05-24 23:29:30 +02:00
547ef7ad7b Stretcher.js instanced, can calculate aspect ratio factors from aspect ratios alone 2018-05-24 22:49:32 +02:00
7d89f41e40 Moved keybinds options to ExtensionConf. Rewrote Keybinds in a bit more OOP way 2018-05-24 20:50:37 +02:00
8f201e1ee0 PageInfo can start and stop all periodic functions (to be implemented when switching tabs) 2018-05-23 23:57:51 +02:00
8d7cefd420 Scaler.js - calculateCrop() and modeToAr() no longer take 'video' and 'playerDimensions' as arguments, instead reading those properties from videoData 2018-05-23 00:34:18 +02:00
ad1436289b Fixed some problems with recursion in autodetection startup. Fixed problems with autodetection sometimes not starting. 2018-05-20 23:17:09 +02:00
08b10220e1 Scaler no longer static 2018-05-18 23:26:20 +02:00
4fe5ce6bcb Autodetection persists over multiple videos 2018-05-16 23:26:47 +02:00
82abee42bd autodetection works more or less properly. Removed some console.logs 2018-05-16 20:59:39 +02:00
4914a0dc1c video is now centered correctly 2018-05-16 20:42:00 +02:00
d38dee1a8a Autodetection gets detected and applied, but css is still off 2018-05-16 20:26:55 +02:00
17f330f242 Automatic aspect ratio detection runs, but applied css is garbage and everything crashes after first aspect ratio change. 2018-05-15 21:40:53 +02:00
a106d0f468 Fixed syntax errors and errors with inexisting or improperly declared variables. Didn't fix things that make stuff not work tho 2018-05-14 20:39:15 +02:00
3686341677 rewrite finished to the point where extension doesn't outright crash. Nothing works, though. 2018-05-13 21:05:11 +02:00
0ac051d5d5 Resizer prepared to handle stretching and zooming 2018-05-13 15:22:28 +02:00
4e2ac9c647 Implemented zoom 2018-05-12 02:51:58 +02:00
Tamius Han
36878921fb Starting to turn ArDetect into a proper class as well 2018-05-08 23:35:16 +02:00
Tamius Han
390348202e Moved functions that calculate video crop from Resizer.js to Scaler.js. Resizer.js is not fixed to account for this yet. 2018-05-06 21:32:18 +02:00
Tamius Han
befd331687 minor fixes 2018-05-05 23:19:42 +02:00
Tamius Han
cdd533e093 think this should be good for release 2018-05-02 17:52:25 +02:00
Tamius Han
9a5f586eaf Fixes to aspect ratio detection: guardline/black line now works properly-ish. By accident also managed to correct the bug where aspect ratio detection was mildly screwed in theater mode? 2018-05-01 23:09:58 +02:00
Tamius Han
b0ef12d97b Trying to fix the youtube popup bug by re-detecting player element every time a new <video> tag is detected. 2018-04-25 20:39:52 +02:00
Tamius Han
956675b0c9 extra changes to logs 2018-04-22 16:51:35 +02:00
Tamius Han
7527f73922 some more testing stuff for testers 2018-04-22 15:12:27 +02:00