feat: letterbox-aware clamp, full-frame image, fit/fill zoom fix
Build Windows / build-windows (push) Has been cancelled
Build Windows / build-windows (push) Has been cancelled
- image_canvas.dart: - Fill mod: viewport tabanli clamp (_tx=0'da kilit) - Fit mod: RenderBox ile resmin gercek render boyutuna gore clamp - Letterbox offset (offX/offY) hesaba katilarak resmin kenarlarina kadar pan - Zoom-to-cursor dogru calisiyor (alignment: topLeft ile) - Min scale 1.0 (her iki modda da) - Overflow durumunda lo/hi reversed clamp (goruntu disari kacmaz) - viewer_screen.dart: image alani top:24 -> top:0 (tam cerceve) - install.sh: release -> debug bundle path (gelistirme)
This commit is contained in:
1 parent
9a0e89bcea
commit
4dae4234ba
3 files changed
+171
-152
No files matched your search
+3
-3
@@ -3,7 +3,7 @@ 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"
|
||||
INSTALL_DIR="${HOME}/.local/lib/${APP}"
|
||||
BIN_LINK="${HOME}/.local/bin/${APP}"
|
||||
DESKTOP_FILE="${HOME}/.local/share/applications/${APP}.desktop"
|
||||
@@ -29,8 +29,8 @@ if [ ! -f "$BUNDLE_DIR/${APP}" ]; then
|
||||
else
|
||||
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 yoksa önce git clone yapıp './install.sh' çalıştırın."
|
||||
BUNDLE_DIR="${SCRIPT_DIR}/build/linux/x64/release/bundle"
|
||||
flutter build linux --debug 2>&1 | tail -1 || err "Flutter build başarısız! Sistemde Flutter SDK yoksa önce git clone yapıp './install.sh' çalıştırın."
|
||||
BUNDLE_DIR="${SCRIPT_DIR}/build/linux/x64/debug/bundle"
|
||||
[ -f "$BUNDLE_DIR/${APP}" ] || err "Build başarısız!"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user