Commit Graph
77 Commits
Author SHA1 Message Date
Ruslan Getmansky 95692e5da8 P5-1492: Fix for image cropping moves to center after switching between inch and cm 2017-07-05 10:23:27 +03:00
Martin 0f7fa575f7 P5-1402 touch functionality 2017-06-27 18:03:14 +02:00
Martin f4b6286396 P5-492 change colors on buttons and move canvas 3d image down 2017-06-26 17:24:14 +02:00
Ruslan Getmansky e5e9245b3c P5-1491: Fix for canvas frame gets fat after switching to inches 2017-06-26 17:42:21 +03:00
EricaWind 1ffdf3b067 P5-1471. Image should be centered when you open the page on ipad. 2017-06-26 17:34:12 +03:00
Martin e3e6019526 P5-1416 add support for text-tags 2017-06-26 15:35:30 +02:00
Ruslan Getmansky e79245e14e P5-1417: Dragbar and rulers should work with inches 2017-06-21 15:08:20 +03:00
Erik Tiekstra 2b4bb8ba37 Documentation Canvas.js 2017-06-13 10:25:42 +02:00
Erik Tiekstra 4c16bac5a4 Documentation ButtonMenu.js 2017-06-12 12:35:52 +02:00
Erik Tiekstra 46222e2726 Documentation ApertureHandler.js 2017-06-12 12:11:40 +02:00
Erik Tiekstra 2be5f17127 Documentation ImageEditor.js 2017-06-12 10:55:55 +02:00
Erik Tiekstra e6e0cd8b7e Documentation 3d handler 2017-06-12 10:55:43 +02:00
Erik Tiekstra 3c70292e6c Fixed issue with selectable state of buttons 2017-06-08 12:49:32 +02:00
Erik Tiekstra dd2c965178 Updated background color and added some comments 2017-06-08 10:43:18 +02:00
Erik Tiekstra ab50c360b0 P5-1110 fixed issues with 3d on mobile 2017-06-05 09:52:59 +02:00
Erik Tiekstra dbd47078d5 P5-1110 Fixed issue with to short apertures on mobile 2017-06-02 15:30:07 +02:00
Erik Tiekstra 3f039eeb7a Renamed file to get image Data. 2017-06-02 14:37:51 +02:00
Erik Tiekstra b237e239a5 Fixed possibility to use different texts for buttons and moved mirror functionality 2017-06-02 14:27:29 +02:00
Erik Tiekstra c377532138 Replaced h and v by x and y 2017-06-01 09:28:02 +02:00
Erik Tiekstra 103a17decf Some refactoring and documentation 2017-06-01 08:27:27 +02:00
Erik Tiekstra ce5535e9a5 Added image scale to frame 2017-06-01 07:45:05 +02:00
Erik Tiekstra d84de29031 Fixed issue with smaller heights 2017-06-01 06:54:57 +02:00
Erik Tiekstra 5897a06a16 Fixed issues with getting cropData. Now using sessionStorage 2017-05-31 11:04:06 +02:00
Erik Tiekstra c57d9157aa Fixed responsivity when resizing the window 2017-05-30 09:27:53 +02:00
Erik Tiekstra 86f9412335 Fixed resizing of screen without making new requests to image-server 2017-05-23 16:44:29 +02:00
Erik Tiekstra fe0d96dd8e Fixed button changing on canvas products 2017-05-23 11:54:16 +02:00
Erik Tiekstra c2a1fa8299 Replaced borderWith with strokeWidth as it differs between wallpaper and canvas 2017-05-23 09:07:56 +02:00
Erik Tiekstra 5f9169ef51 Updated image editor with not having to crop again after resizing 2017-05-23 09:03:29 +02:00
Erik Tiekstra 30e49c95c8 Fixed fullscreen toggling 2017-05-22 10:08:33 +02:00
Erik Tiekstra 885a9a2a01 Added some event triggers regarding image loading 2017-05-19 16:16:01 +02:00
Erik Tiekstra b3eff22d2e Fixed issue with dragbas upon load. 2017-05-19 15:13:22 +02:00
Rikard Bartholf 690c5c41a6 Refresh 3D view when image is resized
This needs more work, height of image must be adapted for passed
dimensions, else it looks strange for very tall viewports.
2017-05-19 11:48:48 +02:00
Rikard Bartholf 587ad487e7 Add method to Canvas for refreshing the 3D view 2017-05-19 11:46:28 +02:00
Rikard Bartholf 7983769dff Cleanup 2017-05-19 11:41:16 +02:00
Rikard Bartholf 26ecfbf8aa Mirror motif in 3D if applicable 2017-05-19 11:39:34 +02:00
Rikard Bartholf 4531f35979 Visualize border change in 3D mode 2017-05-19 11:32:11 +02:00
Rikard Bartholf 3a0fe9fde5 Let Canvas handle 3D image 2017-05-19 10:58:27 +02:00
Erik Tiekstra 89aeb9cd5e Fixed window resizing by positioning all elements correctly 2017-05-19 08:51:11 +02:00
Erik Tiekstra 7817b35a50 Added simple resize function to canvas. Needs to be fixed with positioning of other elements 2017-05-19 07:41:20 +02:00
Rikard Bartholf eb6ff91aff Add documentation and cleanup 2017-05-18 18:51:03 +02:00
Rikard Bartholf 6e605d21d7 Fixes for 3D image
* URL needs to be URI encoded, else Firefox won't cope
* Hide / Show 3D overlay instead of removing / re-adding
2017-05-18 18:45:57 +02:00
Erik Tiekstra 982931db5d Correct value for mirrored 2017-05-18 16:13:36 +02:00
Erik Tiekstra 97e6291a7e Fixed correct mirror key 2017-05-18 15:56:11 +02:00
Rikard Bartholf 28e7a82c1d Merge branch 'master' into interactivity 2017-05-18 15:46:11 +02:00
Rikard Bartholf 0d6654c67d Prepare for 3D image 2017-05-18 15:42:31 +02:00
Erik Tiekstra 15d54ec45a Fixed config for frames and added only frames to canvas 2017-05-18 14:20:04 +02:00
Rikard Bartholf 2acdcafe09 Add method for getting crop data
editor.canvas.getImage().transformation.getData() get an object
with information about the image, it's width, height, if it's
mirrored and so on.
2017-05-18 11:45:43 +02:00
Rikard Bartholf 0c34480bd1 Temporary fix for avoid image "jumping" on initial dragging 2017-05-18 10:56:03 +02:00
Erik Tiekstra a31de5835d Fixed default frametype to image 2017-05-18 09:46:04 +02:00
Erik Tiekstra 032b4db4d4 Replaced x/y with h/v 2017-05-18 08:20:36 +02:00