From 85946cefe1c9b82207e0014b3442e12f50c08290 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Mon, 13 Mar 2017 00:56:49 +0100 Subject: [PATCH] Rely on implicit cache busting after a size bust --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index a359b3c..0c5edc9 100644 --- a/src/index.js +++ b/src/index.js @@ -16,7 +16,7 @@ module.exports = function createTextShape(options = {}) { _layout: null, _lines: null, type: "text", - cacheBustingProperties: ["fillColor", "strokeColor", "strokeWidth", "text", "fontSize", "fontFamily", "fontStyle", "fontWeight", "trimVerticalWhitespace", "renderDebugLines", "renderDebugArea", "lineHeight", "tags"], + cacheBustingProperties: ["fillColor", "strokeColor", "strokeWidth"], sizeBustingProperties: ["text", "fontSize", "fontFamily", "fontStyle", "fontWeight", "trimVerticalWhitespace", "renderDebugLines", "renderDebugArea", "lineHeight", "tags"], fillColor: "black", strokeColor: "red",