mirror of
https://github.com/konvajs/konva.git
synced 2025-11-18 17:21:36 +08:00
further decoupled scene, hit, and buffer graph drawing. To define a custom hit draw function, you now need to set the drawHitFunc attr.
This commit is contained in:
@@ -39,8 +39,8 @@ function log(message) {
|
||||
console.log('LOG: ' + message);
|
||||
}
|
||||
|
||||
function showBuffer(layer) {
|
||||
document.body.appendChild(layer.bufferCanvas.element);
|
||||
function showHit(layer) {
|
||||
document.body.appendChild(layer.hitCanvas.element);
|
||||
}
|
||||
|
||||
function Test() {
|
||||
|
||||
Reference in New Issue
Block a user