From c24224f92c76e75ea7c08be01dacec4ea6ae6047 Mon Sep 17 00:00:00 2001 From: Ivo Zilkenat Date: Wed, 10 Jul 2024 13:14:43 +0200 Subject: [PATCH] Highlightings get properly deleted after moues leave --- source/GM-TE/GMTEEditorTileMap.class.st | 29 +++++++++++++++---------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/source/GM-TE/GMTEEditorTileMap.class.st b/source/GM-TE/GMTEEditorTileMap.class.st index ebda3cc3..e2c0ace5 100644 --- a/source/GM-TE/GMTEEditorTileMap.class.st +++ b/source/GM-TE/GMTEEditorTileMap.class.st @@ -80,6 +80,15 @@ GMTEEditorTileMap >> handlesMouseMove: anEvent [ ^ true ] +{ + #category : #'event handling', + #'squeak_changestamp' : 'Ivo Zilkenat 7/10/2024 13:12' +} +GMTEEditorTileMap >> handlesMouseOver: anEvent [ + + ^ true +] + { #category : #initialization, #'squeak_changestamp' : 'Alex M 6/28/2024 20:24' @@ -130,6 +139,15 @@ GMTEEditorTileMap >> mouseDown: anEvent [ ^ true ] +{ + #category : #'event handling', + #'squeak_changestamp' : 'Ivo Zilkenat 7/10/2024 13:14' +} +GMTEEditorTileMap >> mouseLeave: anEvent [ + + self tileSelectionSet clearAllHighlightings +] + { #category : #'event handling', #'squeak_changestamp' : 'Valentin Teutschbein 7/9/2024 22:02' @@ -184,17 +202,6 @@ GMTEEditorTileMap >> previousTileStates: anObject [ previousTileStates := anObject ] -{ - #category : #updating, - #'squeak_changestamp' : 'Ivo Zilkenat 6/24/2024 11:35' -} -GMTEEditorTileMap >> rescaleMap [ - "Override super behavior such that highlightings are removed during rescale events" - - self tileSelectionSet clearAllHighlightings. - super rescaleMap -] - { #category : #TODO, #'squeak_changestamp' : 'Alex M 7/3/2024 23:50'