Commit 680909c5 authored by shibakaneki's avatar shibakaneki

Resolved issue Sankore-173

parent 8c98bb64
......@@ -57,8 +57,8 @@
},
setNewColor = function (hsb, cal) {
$(cal).data('colorpicker').newColor.css('backgroundColor', '#' + HSBToHex(hsb));
window.uniboard.setTool('pen');
window.uniboard.setPenColor('#' + HSBToHex(hsb));
window.sankore.setTool('pen');
window.sankore.setPenColor('#' + HSBToHex(hsb));
},
keyDown = function (ev) {
var pressedKey = ev.charCode || ev.keyCode || -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment