Resolved issue Sankore-173

preferencesAboutTextFull
shibakaneki 14 years ago
parent 8c98bb64b8
commit 680909c5d8
  1. 4
      resources/library/interactive/ColorPicker.wgt/js/colorpicker.js

@ -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;

Loading…
Cancel
Save