()
| 316 | } |
| 317 | |
| 318 | function initialInit() { |
| 319 | removeExistingNodes(); |
| 320 | c = FeHelper.elemTool.elm('img', { |
| 321 | id: elmid1, |
| 322 | src: blankgif, |
| 323 | style: 'position:fixed;max-width:none!important;max-height:none!important;top:0px;left:0px;margin:0px;padding:0px;overflow:hidden;z-index:2147483646;', |
| 324 | events: [['click', picked, true], ['load', snapshotLoaded]] |
| 325 | }, [], document.body); |
| 326 | n = FeHelper.elemTool.elm('div', { |
| 327 | id: elmid2, |
| 328 | style: 'position:fixed;min-width:30px;max-width:300px;box-shadow:2px 2px 2px #666;border:' + borderValue + ';border-radius:5px;z-index:2147483646;cursor:default;padding:10px;text-align:center;' |
| 329 | }, [], document.body); |
| 330 | document.addEventListener('mousemove', mmf); |
| 331 | addEventListener('keyup', wk); |
| 332 | addEventListener('scroll', ssf); |
| 333 | addEventListener('resize', ssf); |
| 334 | initializeCanvas(); |
| 335 | remainingInit(); |
| 336 | } |
| 337 | |
| 338 | function enableColorPicker() { |
| 339 | disableColorPicker(); |
no test coverage detected