Open cymplecy opened 1 month ago
I loaded in my old Mayflower tracking project from a couple of years ago and noticed that my menus were distorted in V8
in V9
using git bisect I worked out it was due to this commit which changed the reshape reporter https://github.com/jmoenig/Snap/commit/10b31662051e2800da58ca57eee5c88e38f023e8
The change that affect my project comes down to this difference in behaviour in V8
where I relied on the fact that nothing is produced if 1st parameter is 0
but in V9, it returns
I can obviously work around this with an if but reporting it for you to decide if it's a bug or a new feature :)
The actual piece of code where I was relying on old behaviour
If second width < main width, nothing used to be appended
I loaded in my old Mayflower tracking project from a couple of years ago and noticed that my menus were distorted in V8![image](https://github.com/jmoenig/Snap/assets/2357428/8943c075-4ace-4195-ba33-dd7615d17783)
in V9![image](https://github.com/jmoenig/Snap/assets/2357428/23c3e2fd-9243-47bf-ad62-dd1239357304)
using git bisect I worked out it was due to this commit which changed the reshape reporter https://github.com/jmoenig/Snap/commit/10b31662051e2800da58ca57eee5c88e38f023e8
The change that affect my project comes down to this difference in behaviour in V8![showHazard script pic (2)](https://github.com/jmoenig/Snap/assets/2357428/8ccf4981-22fc-4549-ba02-a732d5ce6ae1)
where I relied on the fact that nothing is produced if 1st parameter is 0
but in V9, it returns![showHazard script pic (1)](https://github.com/jmoenig/Snap/assets/2357428/0672a29f-5aa6-4403-bfd1-158302fd404b)
I can obviously work around this with an if but reporting it for you to decide if it's a bug or a new feature :)