Commit graph

22 commits

Author SHA1 Message Date
Sven Slootweg e0a8385eb0 Only process properties that have actually changed 2017-08-22 09:37:28 +02:00
Sven Slootweg f44f95fbf2 Don't cache-bust twice when the size of an object is busted 2017-08-22 07:05:26 +02:00
Sven Slootweg a9b7bbe690 Fix bug that made the cache-busting propagation in composite objects not work 2017-08-22 07:04:04 +02:00
Sven Slootweg 894a4982ee Get rid of offset tracking in core, and let individual shapes track it themselves 2017-03-13 02:44:51 +01:00
Sven Slootweg 2dd1796046 Add support for overdraw, and make overdraw and underdraw work correctly with non-top/left origins 2017-03-13 02:42:03 +01:00
Sven Slootweg 93053938d6 Add underdraw support 2017-03-13 02:26:05 +01:00
Sven Slootweg 7e08b13854 Change createObject to use the new requireProperties API, and automatically validate the existence of the properties listed in the 'requiredProperties' for an object 2017-03-13 01:51:41 +01:00
Sven Slootweg ed59e36ea0 Remove debugging line 2017-03-13 01:45:37 +01:00
Sven Slootweg 89fe5054f0 Replace checkit-based validation with a simple property check for the time being 2017-03-13 01:35:48 +01:00
Sven Slootweg d4c01e8056 Expect an explicit drawOrder to be specified in a composite object, rather than relying on object key order 2017-03-13 01:28:31 +01:00
Sven Slootweg 3d5aac5c96 Make size busting also implicitly bust the cache 2017-03-13 00:55:47 +01:00
Sven Slootweg b28c927d81 Fix composite object implementation to also map properties for the initial properties passed to the factory 2017-03-12 21:29:26 +01:00
Sven Slootweg 7805c2fe06 Add composite object implementation 2017-03-12 21:06:12 +01:00
Sven Slootweg 34842e4803 Add support to property mapper for left-over properties without mapping rules 2017-03-12 21:05:42 +01:00
Sven Slootweg e5e352247b Implement originX/originY support, implement onSet transformation support, implement rendering offset support, fix cacheing to actually cache, fix cache rendering to clearRect before rendering 2017-03-12 21:05:13 +01:00
Sven Slootweg f0edd3b63e Remove artficial testcase from property mapper code 2017-03-12 17:28:52 +01:00
Sven Slootweg 8c380ff7d6 Add support for bare object references in the property mapper 2017-03-12 17:28:36 +01:00
Sven Slootweg fda5765197 Allow direct object access in property mapper 2017-03-12 17:01:07 +01:00
Sven Slootweg 68da848e76 Implement initial version of composite property mapper 2017-03-12 16:44:28 +01:00
Sven Slootweg 0049bb9a53 Fix size/cache busting in object.set 2017-03-05 21:43:18 +01:00
Sven Slootweg 1e76f05549 Resize the cache canvas to the calculated size, rather than the specified size 2017-03-05 13:25:55 +01:00
Sven Slootweg 935da294b4 Initial commit 2017-03-04 20:15:24 +01:00