mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
Fix Konva.Transformer
behavior on scaled with CSS stage. fix #841.
This commit is contained in:
@@ -349,7 +349,7 @@ export class Shape<Config extends ShapeConfig = ShapeConfig> extends Node<
|
||||
* @returns {Boolean}
|
||||
*/
|
||||
hasFill() {
|
||||
return !!(
|
||||
return this.fillEnabled() && !!(
|
||||
this.fill() ||
|
||||
this.fillPatternImage() ||
|
||||
this.fillLinearGradientColorStops() ||
|
||||
|
Reference in New Issue
Block a user