Changes between Initial Version and Version 1 of Ticket #10051, comment 5
- Timestamp:
- Jan 4, 2016, 6:37:00 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10051, comment 5
initial v1 1 BTW the patch I provided 3 years ago still fix the problem... Why is it still not pushed to the project? Why did someone added "* 1000" in an attempt to make a cheap workaround when the answer is so simple? Do I need to explain what I'm doing in that patch and provide mathematics evidences as why it works? 1 BTW the patch I provided 3 years ago still fix the problem... I'm not sure why someone added "* 1000" the the ratio calculation. That looks like an unsuccessful attempt to fix the problem. 2 3 Should I explain what I'm doing in that patch or provide mathematics evidences as to why it works? 2 4 3 5 Basically, what I do is quite simple: To know if the lock should be closed or not, I calculate the "Height" that the image should have considering the specified "Width". If the "Height" match the specified "Height", then the ratio is good and the lock should be locked. This works all the time because I'm simply using the same Maths that has been used the calculate the "Height" in the first place. No magic here...