Commit Graph

29 Commits

Author SHA1 Message Date
kovacsv
876cfc399b Always orbit around the center point of the camera. 2021-12-23 09:12:03 +01:00
kovacsv
3a2b344bc5 Simplify orbit center handling. 2021-12-22 23:35:59 +01:00
kovacsv
bee095ba74 Remove orbit center modifier code. 2021-12-22 23:05:27 +01:00
kovacsv
9e4aa58de2 Adjust orbit center after panning #194 2021-12-21 20:47:25 +01:00
kovacsv
6fd498d4a8 Minor modification. 2021-12-13 08:41:48 +01:00
kovacsv
6e9eea126a Detect single tap on mobile as mouse click. 2021-12-13 00:01:08 +01:00
kovacsv
712b75e208 End event should handled for iOS. 2021-12-12 21:36:41 +01:00
kovacsv
ce57dff028 Handle touchcancel, because touchend doesn't work on android. 2021-12-12 21:24:42 +01:00
kovacsv
bcf0c588fe No need to handle mouse button in click detector. 2021-12-12 21:24:08 +01:00
kovacsv
a003210666 No need to handle end event, because on touchend no relevant information arrives in the event. 2021-12-12 21:10:17 +01:00
kovacsv
a0ef9de5cb Rename functions in navigation. 2021-12-12 20:28:12 +01:00
kovacsv
9371abf56f Add the possibility to add extra model parts to the viewer. 2021-12-11 08:42:38 +01:00
kovacsv
504c38848d Automatically remove trailing whitespaces in Visual Studio Code. 2021-10-25 16:30:25 +02:00
kovacsv
5bd71dd50c Feature Request - Shift + Mouse left should pan model #141 2021-09-17 13:47:36 +02:00
hey24sheep
39e10560c9 increased zoomRatio to 0.005 2021-09-17 14:07:54 +05:30
kovacsv
f9e8be8ed0 Make ctrl+zoom dependent of mouse movement diff, and clean-up code. 2021-09-17 08:07:26 +02:00
hey24sheep
089f4a0fc9 disable zoom on movement along x-axis 2021-09-16 16:38:53 +05:30
hey24sheep
31f58ade96 ctrl zoom feature 2021-09-13 22:17:34 +05:30
kovacsv
9bdd924b2f Remove mesh isolation by ctrl+click. 2021-08-17 19:28:22 +02:00
kovacsv
fe2836d632 Do not prevent default event for handlers that registered for the whole document, because in this case selection won't work. 2021-08-15 19:13:41 +02:00
kovacsv
743c4dcf1b Remove unused variable. 2021-07-25 16:44:11 +02:00
kovacsv
9405aff3dd Make mesh visibility options available from context menu #102 2021-07-24 13:49:22 +02:00
kovacsv
fec23eb236 Add more eslint rules. 2021-07-12 18:41:38 +02:00
kovacsv
5851aedb1d Use arrow callbacks everywhere. 2021-07-12 08:49:12 +02:00
Viktor Kovacs
e9509d1696 Use wheel event instead of deprecated DOMMouseScroll and mousewheel. 2021-05-09 15:38:32 +02:00
Viktor Kovacs
2740de7098 Handle invalid camera when moving. 2021-04-20 15:20:11 +02:00
Viktor Kovacs
c770b84e26 Replace tabs with spaces everywhere. 2021-03-31 18:02:14 +02:00
Viktor Kovacs
e48c1b51e1 Pan with middle mouse #41 2021-03-31 16:20:50 +02:00
Viktor Kovacs
9264c1dd6d Add code for new version. 2021-03-27 08:29:19 +01:00