|
|
@ -57,8 +57,8 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
setNewColor = function (hsb, cal) { |
|
|
|
setNewColor = function (hsb, cal) { |
|
|
|
$(cal).data('colorpicker').newColor.css('backgroundColor', '#' + HSBToHex(hsb)); |
|
|
|
$(cal).data('colorpicker').newColor.css('backgroundColor', '#' + HSBToHex(hsb)); |
|
|
|
window.uniboard.setTool('pen'); |
|
|
|
window.sankore.setTool('pen'); |
|
|
|
window.uniboard.setPenColor('#' + HSBToHex(hsb)); |
|
|
|
window.sankore.setPenColor('#' + HSBToHex(hsb)); |
|
|
|
}, |
|
|
|
}, |
|
|
|
keyDown = function (ev) { |
|
|
|
keyDown = function (ev) { |
|
|
|
var pressedKey = ev.charCode || ev.keyCode || -1; |
|
|
|
var pressedKey = ev.charCode || ev.keyCode || -1; |
|
|
|