From 387de888710193ae825a67861ebe820c199b6883 Mon Sep 17 00:00:00 2001 From: Tom Medema Date: Thu, 19 Apr 2018 15:21:13 -0700 Subject: [PATCH] added styleable events such that styling can be overwritten --- src/domain_abstract/model/Styleable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/domain_abstract/model/Styleable.js b/src/domain_abstract/model/Styleable.js index 844d88cd9..e4413b797 100644 --- a/src/domain_abstract/model/Styleable.js +++ b/src/domain_abstract/model/Styleable.js @@ -43,8 +43,8 @@ export default { const em = this.em; this.trigger(`change:style:${pr}`); if (em) { - em.trigger(`styleable:change`); - em.trigger(`styleable:change:${pr}`); + em.trigger(`styleable:change`, this, pr); + em.trigger(`styleable:change:${pr}`, this, pr); } });