Commit Graph
56 Commits
Author SHA1 Message Date
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
Erik Tiekstra ad195acb7b Fixed event triggering with data 2017-05-17 15:43:17 +02:00
Rikard Bartholf afa1b13201 Pass axis for PIE:needs-dragging event 2017-05-17 15:09:13 +02:00
Erik Tiekstra 4cccacd7c6 Added trigger for handling clicks on dragbars 2017-05-17 14:43:46 +02:00
Erik Tiekstra ae9c75265d Added event-triggers for dragged status 2017-05-17 14:14:24 +02:00
Rikard Bartholf 6ac64d18bd Fix initialization of ButtonMenu 2017-05-17 12:46:22 +02:00
Erik Tiekstra 30b30406fe Fixed some styling of buttons 2017-05-16 16:11:26 +02:00
Rikard Bartholf 86f3964a3d Menu buttons can be made active/inactive programattically 2017-05-16 15:41:29 +02:00
Sofie KedvikandGitHub b0888a58cd Responsive (#1) make editor responsive
* Make canvas responsive

* made the editor to appear in the middle
2017-05-16 13:06:36 +02:00
Erik Tiekstra 1ec1a8edfa Fixed issue with config for ruler 2017-05-16 12:53:30 +02:00
Erik Tiekstra 9803376e20 Fixed issue with config for ruler 2017-05-16 12:53:23 +02:00
Rikard Bartholf c0f1180199 Merge branch 'master' into canvas 2017-05-16 12:42:26 +02:00
Rikard Bartholf e8d6e5de34 More fixes for canvas product type 2017-05-16 12:20:52 +02:00
Erik Tiekstra 3c70695d1c Fixed some config files 2017-05-16 12:00:49 +02:00
Rikard Bartholf 578c44ebfd Adjustments for canvas frames 2017-05-16 11:06:50 +02:00
Rikard Bartholf ab147d6af6 Add handling of frames for canvas 2017-05-16 10:50:59 +02:00
Erik Tiekstra 2ae3edb326 Fixed default cursors for different areas 2017-05-16 10:21:14 +02:00
Rikard Bartholf 4806a3e072 Prepare frame rendering in Viewport 2017-05-15 20:59:29 +02:00
Rikard Bartholf 4617f9f92d Begin implement canvas editor 2017-05-15 15:32:56 +02:00
Erik Tiekstra 75796fbbf1 Seperated initiation from production code 2017-05-15 14:54:11 +02:00
Erik Tiekstra e12cbac4b1 Fixed optimal dimensions when no cropping is chosen 2017-05-12 15:26:11 +02:00
Erik Tiekstra 7d41f6b2e2 WIP no crop functionality 2017-05-12 11:01:36 +02:00