Skip to content

Commit

Permalink
BlCursor -> Cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
plantec committed Jan 17, 2024
1 parent 32091f5 commit a9295c6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Album/AlbTextEditorCursorIconHandler.class.st
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
Class {
#name : #AlbTextEditorCursorIconHandler,
#superclass : #AlbEditorElementHandler,
#category : 'Album-UI-Handlers'
#category : #'Album-UI-Handlers'
}

{ #category : #'event handling' }
AlbTextEditorCursorIconHandler >> dragEnterEvent: anEvent [

anEvent currentTarget mouseCursor: BlCursor default
anEvent currentTarget mouseCursor: Cursor normal
]

{ #category : #'event handling' }
AlbTextEditorCursorIconHandler >> dragLeaveEvent: anEvent [

anEvent currentTarget mouseCursor: BlCursor default
anEvent currentTarget mouseCursor: Cursor normal
]

{ #category : #'api - accessing' }
Expand All @@ -31,18 +31,18 @@ AlbTextEditorCursorIconHandler >> eventsToHandle [
AlbTextEditorCursorIconHandler >> mouseEnterEvent: anEvent [

anEvent currentTarget mouseCursor: (element isEditable
ifTrue: [ BlCursor overEditableText ]
ifFalse: [ BlCursor default ])
ifTrue: [ Cursor overEditableText ]
ifFalse: [ Cursor normal ])
]

{ #category : #'event handling' }
AlbTextEditorCursorIconHandler >> mouseLeaveEvent: anEvent [

anEvent currentTarget mouseCursor: BlCursor default
anEvent currentTarget mouseCursor: Cursor normal
]

{ #category : #'event handling' }
AlbTextEditorCursorIconHandler >> mouseOverEvent: anEvent [

anEvent currentTarget mouseCursor: BlCursor overEditableText
anEvent currentTarget mouseCursor: Cursor overEditableText
]

0 comments on commit a9295c6

Please sign in to comment.