From 7caafb8bdf067b4515f7917b18265a0ed4d8cc49 Mon Sep 17 00:00:00 2001 From: Omer Date: Tue, 26 Nov 2019 18:24:45 +0200 Subject: [PATCH] Major changes to colorpicker page --- chameleon-client/src/views/ColorPicker.vue | 243 +++++++++++++++++++-- 1 file changed, 221 insertions(+), 22 deletions(-) diff --git a/chameleon-client/src/views/ColorPicker.vue b/chameleon-client/src/views/ColorPicker.vue index bb46d2ac6..097de55ca 100644 --- a/chameleon-client/src/views/ColorPicker.vue +++ b/chameleon-client/src/views/ColorPicker.vue @@ -1,37 +1,236 @@ - + , + mounted: function() { + //Init function, runs once when the page loads + this.ctxI=this.$refs.imageCanvas.getContext("2d"); + this.ctxZ=this.$refs.zoomCanvas.getContext("2d"); + this.img=this.$refs.sourceImg; - \ No newline at end of file