feat: right-click contrast, Ctrl+saturation, Shift+rotate filters
Build Windows / build-windows (push) Has been cancelled
Build Windows / build-windows (push) Has been cancelled
- Add ColorFilter.matrix (row-major) for saturation and contrast - Saturation: 0=grayscale, 1=normal, 2=oversaturated (luminance-weighted) - Contrast: standard contrast matrix (pivot at 0.5) - Keyboard modifier tracking via HardwareKeyboard.addHandler - Right-click + vertical drag: contrast (0-2) - Ctrl + right-click + vertical drag: saturation (0-2) - Shift + right-click + vertical drag: rotate - Right double-click: reset all values - Update install.sh to check debug/ bundle before release/ - Update .deb package with new release build
This commit is contained in:
1 parent
440513e7be
commit
35d3bc3749
7 files changed
+383
-16
No files matched your search
+9
-2
@@ -3,7 +3,11 @@ set -euo pipefail
|
||||
|
||||
APP=imajviewer
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
BUNDLE_DIR="${SCRIPT_DIR}/build/linux/x64/release/bundle"
|
||||
BUNDLE_DIR="${SCRIPT_DIR}/build/linux/x64/debug/bundle"
|
||||
# Debug yoksa release dene
|
||||
if [ ! -f "$BUNDLE_DIR/${APP}" ]; then
|
||||
BUNDLE_DIR="${SCRIPT_DIR}/build/linux/x64/release/bundle"
|
||||
fi
|
||||
INSTALL_DIR="${HOME}/.local/lib/${APP}"
|
||||
BIN_LINK="${HOME}/.local/bin/${APP}"
|
||||
DESKTOP_FILE="${HOME}/.local/share/applications/${APP}.desktop"
|
||||
@@ -24,7 +28,10 @@ if [ ! -f "$BUNDLE_DIR/${APP}" ]; then
|
||||
info "Binary bulunamadı, Flutter build başlatılıyor…"
|
||||
cd "$SCRIPT_DIR"
|
||||
flutter build linux 2>&1 | tail -1 || err "Flutter build başarısız! Sistemde Flutter SDK kurulu olmalı veya dist/imajviewer_*.deb paketini kullanın."
|
||||
BUNDLE_DIR="${SCRIPT_DIR}/build/linux/x64/release/bundle"
|
||||
BUNDLE_DIR="${SCRIPT_DIR}/build/linux/x64/debug/bundle"
|
||||
if [ ! -f "$BUNDLE_DIR/${APP}" ]; then
|
||||
BUNDLE_DIR="${SCRIPT_DIR}/build/linux/x64/release/bundle"
|
||||
fi
|
||||
[ -f "$BUNDLE_DIR/${APP}" ] || err "Build başarısız!"
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user