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:
@@ -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'
|
||||
|
||||
@@ -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,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user