build: 1.1.0 release — ctrl+Q pencere kapatma fixi (onKeyEvent), kisa yol bilgileri guncellendi (ctrl+shift+Q), readme guncellendi, pan-kilitleme nuks raporu; .deb guncellendi

This commit is contained in:
Alhan
2026-08-06 04:41:32 +03:00
parent f3a5aeb604
commit ef7692469d
7 changed files with 214 additions and 14 deletions

View File

@@ -142,8 +142,8 @@ class _ViewerScreenState extends State<ViewerScreen> with WindowListener {
const SizedBox(height: 4),
const Text(
'• Sol/Sağ ok — önceki/sonraki resim\n'
'• Ctrl+O — dosya aç\n'
'• Ctrl+Q — pencereyi kapat\n'
'• Ctrl+Shift+Q — tüm pencereleri kapat\n'
'• Çift tık — doldur/sığdır geçişi\n'
'• Sağ tık sürükle — kontrast\n'
'• Shift+sağ tık — döndür\n'

View File

@@ -29,6 +29,12 @@ class AppShortcuts extends StatelessWidget {
return KeyEventResult.handled;
}
// Ctrl+Q: bu pencereyi kapat
if (ctrl && event.logicalKey == LogicalKeyboardKey.keyQ) {
windowManager.close();
return KeyEventResult.handled;
}
switch (event.logicalKey) {
case LogicalKeyboardKey.arrowLeft:
ImageManager.instance.previousImage();
@@ -53,16 +59,6 @@ class AppShortcuts extends StatelessWidget {
): () {
FileHandler.openFileDialog();
},
const SingleActivator(LogicalKeyboardKey.f11): () async {
final isFullscreen = await windowManager.isFullScreen();
await windowManager.setFullScreen(!isFullscreen);
},
const SingleActivator(
LogicalKeyboardKey.keyQ,
control: true,
): () {
windowManager.close();
},
},
child: child,
),