Skip to content

Commit 8508ff0

Browse files
committed
crop image
1 parent 9d5569b commit 8508ff0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/jabs/resources/fail_whale.png

-890 KB
Loading

src/jabs/ui/message_dialog.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,9 @@ def _get_icon_path(self) -> tuple[Path | None, str | None]:
190190

191191
# Map message types to (icon_file, tooltip) tuples
192192
# tooltip is optional - use None if no tooltip desired
193+
# Note: currently WARNING and INFO use fallback emoji, so no image icon specified
193194
icon_map = {
194195
MessageType.ERROR: ("fail_whale.png", "Fail Whale"),
195-
# MessageType.WARNING: ("icon.png", "Warning message"),
196-
# MessageType.INFO: ("icon.png", None), # No tooltip example
197196
}
198197

199198
icon_info = icon_map.get(self._message_type)

0 commit comments

Comments
 (0)