-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix window not staying in place when changing images #4
Comments
The setting "keep window centered" does not do anything, I suppose this is why? |
Actually it does something, it forces the window a bit up and left (from the center) when it's on. So on means it's not centered and off means it's centered. Ahem... |
At least when I turn off resize window and keep centered, then it keeps the window position. Which is ok. |
在最新版本 没人发现 将图片设置成桌面背景时软件就卡死 退出吗? |
My apologies. The wallpaper function has been fixed in the latest version. I know it's a bit slow when effects are applied, I might improve it in the future. |
Currently the window is forced to center, to avoid gradually losing center position.
This would be nice to fix, so that you could drag the application around and change images, while still having it the window resizing.
Like how JPEGView works (which this application is heavily inspired by).
Resizing is done by a window sizing override
PicView/PicView/Views/Windows/MainWindow.xaml.cs
Line 126 in 9970e8c
and a function to scale the image
PicView/PicView/UILogic/Sizing/ScaleImage.cs
Line 149 in 9970e8c
The text was updated successfully, but these errors were encountered: