Commit graph

2098 commits

Author SHA1 Message Date
Killy
79ea558dbb Fix: zoom-in when selection is out of sight 2020-05-02 01:52:05 +03:00
Killy
b2a6fc8774 No ScaleTransform is needed at 100% zoom 2020-05-01 18:53:08 +03:00
Killy
0fce43404d Fix: prevent image blurring at 100% zoom
Even at 100% GDI+ manages to do some smoothing.
Also minor optimization - not messing with Graphics state when not needed.
2020-05-01 18:45:10 +03:00
Killy
ef5b5deb7a Smarter zoom - keep selected elements in sight 2020-05-01 18:16:33 +03:00
Killy
d93c9d6a3a TextContainer's TextBox on zoom - fix for position, update font size 2020-05-01 00:46:27 +03:00
Killy
f494385ef7 Naming consistency - not a percentage value anymore 2020-04-30 19:16:05 +03:00
Killy
bac1ff4ba0 Fix for pixel jerk 2020-04-30 18:30:51 +03:00
Killy
dcf75fd081 Use Fractions to represent zoom factor
The goal is to be able to get as close as possible to perfect 66.(6)% (2/3) zoom factor, and also remove types mismatch between the editor form and the surface.
2020-04-30 17:57:36 +03:00
Killy
464e5e872f Fix weird scroll position when going from no scroll zoom value
Also prefer top left corner in that situation - it is less disorienting when working with screenshots.
2020-04-30 17:39:03 +03:00
Killy
99742ad05a Fix for Best Fit on images bigger than 4 times the available space 2020-04-29 23:23:29 +03:00
Killy
1ef2df9602 Unneeded using
after 169dbdc
2020-04-28 21:46:45 +03:00
Killy
e6e2ed523a Keep center of visible area static on zoom when possible 2020-04-28 21:43:01 +03:00
Killy
4c0277be90 Robust clip region resize 2020-04-28 19:19:17 +03:00
Killy
d47271e7e1 Fix rendering quality at small zoom levels when redrawing small parts 2020-04-28 18:55:43 +03:00
MXI
5fe700bc84
Fix GetAvailableScreenSpace on secondary screens
Co-Authored-By: jklingen <jklingen@users.noreply.github.com>
2020-04-27 21:00:59 +03:00
Killy
2be1898c53 Width and Height shouldn't be exposed through ISurface anymore 2020-04-27 19:30:22 +03:00
Killy
195b5c3ab7 Fix NPE 2020-04-27 19:15:36 +03:00
Killy
169dbdccec Rework for paste from clipboard
- location is determined by the same code for images and text;
- use visible area to determine the location.
2020-04-27 19:15:08 +03:00
Killy
3d39241f82 More fixes for Surface.Image size
- crop works properly;
- Freehand drawings are selectable everywhere at all zoom levels.

Known issue: freehand selection outline is not drawn
2020-04-27 16:00:58 +03:00
Killy
ec2c46daa8 GetOptimalWindowSize - bound by available screen space
Limiting by working area size was not good enough - having whole chrome on screen is important.
2020-04-27 01:23:23 +03:00
Killy
95c759e3fd Changed shortcuts - Ctrl+0, Ctrl+9 2020-04-27 01:19:38 +03:00
Killy
41082c2be1 Image size in OneNoteExporter
There is now a distinction between Surface size and Surface.Image size.
2020-04-27 01:18:05 +03:00
Killy
79742d1b4d Code review nitpicks 2020-04-27 01:14:52 +03:00
Killy
136953aa4e Fixes for some identified issues
- better interface for coordinate translation;
- correct context menu location;
- speech bubble tail can be dragged over the whole image.
2020-04-27 01:13:22 +03:00
Killy
8b45489b11 Zoom feature for the editor 2020-04-26 16:50:17 +03:00
MXI
38739ce427
Merge pull request #2 from greenshot/release/1.3
syncing with upsteam
2020-04-26 00:06:13 +03:00
Robin Krom
1d20faea2b Fixed the manifest, somehow there was an error which prevented DPI support. 2020-04-25 21:59:21 +02:00
Robin Krom
700fb07e40 Changed the update check, this should be more stable and flexible. 2020-04-16 21:19:58 +02:00
Robin Krom
9c31b90021 Fix #182, the notifications don't work due to a quirk in the Windows API. 2020-04-16 21:19:07 +02:00
Robin Krom
6e7a911477 This should fix showing the notification on the first start. 2020-04-15 22:49:43 +02:00
Robin
87f3b6a871 Improving stability for the notification issue reported in #182 2020-04-14 12:31:52 +02:00
Robin
3055d42689 Fixed Windows 10 incompatibility with 1809
Removed experimental QR code
Updated dependencies.
2020-04-12 23:23:02 +02:00
Robin
5fbd605239 Backport of language changes from #160 for the next 1.x release [skip ci] 2020-03-27 08:57:38 +01:00
Robin
f206046010 Made notifications work again, activation doesn't work yet due to missing ToastActivatorCLSID on the shortcut. 2020-03-16 14:20:14 +01:00
Robin
a29f6faa27 Working on improving the toast notifications [skip ci] 2020-03-11 15:22:17 +01:00
Robin Krom
7e96c99b3d Updates for the notification service, now an icon is shown and it now follows the configuration settings. [skip ci] 2020-03-10 22:06:47 +01:00
Robin Krom
1ba0bf9b10 Working on making multiple notification systems possible, removing the old "notifyicon" balloon for Windows 10. 2020-03-10 13:17:13 +01:00
Robin Krom
d0846b0f09 First step in moving towards replaceable notification messages, extracted the logic to do so into it's own module. [skip ci] 2020-03-09 21:50:37 +01:00
Robin Krom
87b7905457 Removed output of credentials [skip ci] 2020-03-08 16:04:52 +01:00
Robin Krom
f000a939d5 Fixed build 2020-03-08 15:11:01 +01:00
Robin Krom
73e7f2dd1b Mapping of credential variables 2020-03-08 15:04:25 +01:00
Robin Krom
d2f0a3d3b1 Trying other variable names 2020-03-07 23:02:40 +01:00
Robin Krom
9240c1209e Added another check for variables 2020-03-07 22:52:14 +01:00
Robin Krom
9e56f23c1b See if this helps anything building with credentials. 2020-03-07 22:24:17 +01:00
Robin Krom
043b6048ae Fix for generating the list of windows which can be selected.
Fix for including the credentials of the web services in azure-pipelines.yml
2020-03-07 17:19:45 +01:00
Robin
77c1b3d2c5 This change SHOULD fix the office support for Office 2010
It should also stabilize the installer build, and speed up the build process inside Visual Studio.
2020-03-04 12:16:26 +01:00
Robin
3263ce0aa9 Fix for the G animation not being drawn correctly when using different DPI settings, it doesn't get prettier though [skip ci] 2020-03-04 09:48:12 +01:00
Robin
e089fff547 Trying to change the build version, to work without hash 2020-03-03 15:58:23 +01:00
Robin
cb38d0df8a Fixing the version for github release 2020-03-03 15:48:26 +01:00
Robin
c76d88b6df Modifying azure-pipelines.yml to hopefully publish a github release. 2020-03-03 15:39:07 +01:00