Fix Konva.Transformer behavior on scaled with CSS stage. fix #841.

This commit is contained in:
Anton Lavrenov
2020-02-06 10:14:49 -05:00
parent d663a19342
commit 1c3a019134
11 changed files with 154 additions and 81 deletions

View File

@@ -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() ||