Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packaging/aur/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ pkgdesc="Fast, GPU-accelerated raster image editor"
arch=('x86_64' 'aarch64')
url="https://github.com/kylejckson/PaintFE"
license=('MIT')
# The Paint.NET compatibility host is hashed after `dotnet publish`. makepkg's
# default stripping would change that executable afterwards and invalidate its
# adjacent .sha256 file at runtime.
options=('!strip')
depends=(
'gcc-libs'
'glibc'
Expand Down
3 changes: 3 additions & 0 deletions packaging/aur/PKGBUILD-bin
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ pkgdesc="Fast, GPU-accelerated raster image editor (prebuilt binary)"
arch=('x86_64')
url="https://github.com/kylejckson/PaintFE"
license=('MIT')
# Preserve the published compatibility-host binary: its adjacent .sha256 file
# verifies the exact release artifact before PaintFE loads legacy plugins.
options=('!strip')
provides=('paintfe')
conflicts=('paintfe')
depends=(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,7 @@ impl ToolsPanel {
let delta = i.pointer.delta();
delta.x.abs() >= 1.0 || delta.y.abs() >= 1.0
});
if is_primary_down
&& pointer_moved_at_least_one_pixel
if (is_primary_clicked || (is_primary_down && pointer_moved_at_least_one_pixel))
&& let Some(pos) = canvas_pos
{
self.pick_color_at_position(canvas_state, pos, false);
Expand Down
Loading