bitdream / aseprite

Automatically exported from code.google.com/p/aseprite
0 stars 0 forks source link

Mini Editor not centering automatically #312

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the Mini Editor
2. Resize the Mini Editor Window
3. The mini editor image is not centered after resizing
4. Pan the Canvas in any direction
5. The mini editor will center after that

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
aseprite-0.9.6-beta1-win32

*Please provide any additional information below. If the program crashed on
Windows, you can attach the aseprite-memory.dmp file generated in the same
location where aseprite.exe is.*

Screenshot:
http://puu.sh/6pKYd.png

Original issue reported on code.google.com by cgmode...@hotmail.com on 18 Jan 2014 at 11:42

GoogleCodeExporter commented 9 years ago
Yeah, this is really annoying. I'll try to fix it ASAP.

Original comment by davidcapello on 25 Mar 2014 at 2:19

GoogleCodeExporter commented 9 years ago

Original comment by davidcapello on 25 Mar 2014 at 2:19

GoogleCodeExporter commented 9 years ago

Original comment by davidcapello on 10 Apr 2014 at 1:06

GoogleCodeExporter commented 9 years ago

Original comment by davidcapello on 10 Apr 2014 at 1:09

GoogleCodeExporter commented 9 years ago
The scroll is updated correctly when the MiniEditor window is resized (at least 
from 0.9.6-beta3). The problem is that when the current editor's scroll is 
modified (using scrollbars), the mini editor is not centered. Fixed: 
https://github.com/aseprite/aseprite/commit/58720851c407d1431b15a454d7b1c86db1d3
e899

Original comment by davidcapello on 28 Apr 2014 at 4:47

GoogleCodeExporter commented 9 years ago
The Mini Editor (in aseprite 1.0.0) does not recenter upon resizing in the case 
that the sprite is smaller than the mini editor window. Shrink the mini editor 
to a very small size. Create a 100x100 sprite. Drag the top of the mini editor 
upwards. The 100x100 sprite will cease to move upwards within the mini editor 
once it is about ~44 pixels from the bottom despite the space between the top 
border and the top of the sprite growing. Panning the image will then center 
the sprite properly within the mini editor. 

Original comment by kirby...@gmail.com on 9 Jun 2014 at 4:21