Closed baaygun closed 8 years ago
Can you please do some benchmarking to see if this causes any kind of performance regression?
@iwehrman
Master:
This branch:
It slows down from 20 ms to 30 ms, only when there are shape layers involved.
Looks good, thanks!
This PR does few things:
_boundsPropertyForLayer
function to_boundsPropertiesForLayer
, allowing for multiple property keys to be attached to a layer bound. This allows us to getkeyOriginType
as well for vector layers onresetBounds
calls.resetBounds
call, we update both of those properties, also inverifySelectedLayerBounds
Addresses #3444