From a0df42adfdbe1d9c43534dbc1134972a525dfa2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Sun, 6 Oct 2024 09:44:32 +0200 Subject: [PATCH] Change things --- Changelog.md | 9 ++++++--- krokiet/ui/action_buttons.slint | 17 +++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Changelog.md b/Changelog.md index 4bab1e77..552fad0a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,7 +2,8 @@ ### Breaking changes -- Due removing image_type from image struct, old cache files are incompatible with new version and should be regenerated +- Due to the removal image_type from image struct, old cache files are incompatible with new version and should be + regenerated from scratch(it uses new name) ### Core @@ -36,7 +37,9 @@ - Fixed problem with loading invalid preset - [#1226](https://github.com/qarmin/czkawka/pull/1226) - Fixed crash when using 8 hash size with small similarity - [#TODO](https://github.com/qarmin/czkawka/pull/TODO) - Fixed crash when using 8 hash size with small similarity - [#TODO](https://github.com/qarmin/czkawka/pull/TODO) -- Disabling buttons when no files was found - [#TODO](https://github.com/qarmin/czkawka/pull/TODO) +- Disabling buttons when no files were found - [#TODO](https://github.com/qarmin/czkawka/pull/TODO) +- Changed way to close/open panel at bottom - [#TODO](https://github.com/qarmin/czkawka/pull/TODO) +- Modify logo a little - [#TODO](https://github.com/qarmin/czkawka/pull/TODO) ### GTK GUI @@ -50,7 +53,7 @@ - Added options to find/remove images by size - [#1255](https://github.com/qarmin/czkawka/pull/1255) - Fixed and added more input parameters to the application - [#1354](https://github.com/qarmin/czkawka/pull/1354) -- Fixed crash when stopping scan mutliple times - [#1355](https://github.com/qarmin/czkawka/pull/1355) +- Fixed crash when stopping scan multiple times - [#1355](https://github.com/qarmin/czkawka/pull/1355) - Print results also in debug build - [#1355](https://github.com/qarmin/czkawka/pull/1355) ## Version 7.0.0 - 19.02.2024r diff --git a/krokiet/ui/action_buttons.slint b/krokiet/ui/action_buttons.slint index f90c9fbd..d4a0b44a 100644 --- a/krokiet/ui/action_buttons.slint +++ b/krokiet/ui/action_buttons.slint @@ -10,11 +10,15 @@ import {MainListModel} from "common.slint"; export component VisibilityButton inherits Button { in-out property button_visibility; in-out property bottom_panel_visibility; - enabled: bottom_panel_visibility != button-visibility; + checked: bottom_panel_visibility == button-visibility; height: 30px; width: 70px; clicked => { - bottom-panel-visibility = button_visibility; + if (bottom_panel_visibility == button_visibility) { + bottom_panel_visibility = BottomPanelVisibility.NotVisible; + } else { + bottom_panel_visibility = button_visibility; + } } } @@ -170,14 +174,7 @@ export component ActionButtons inherits HorizontalLayout { height: parent.height; button-visibility: BottomPanelVisibility.TextErrors; bottom_panel_visibility <=> bottom_panel_visibility; - text: "Text"; - } - - VisibilityButton { - height: parent.height; - button-visibility: BottomPanelVisibility.NotVisible; - bottom_panel_visibility <=> bottom_panel_visibility; - text: "None"; + text: "Output"; } } }