Skip to content

Commit

Permalink
remove arbitrary text color change in ToSingleSelectTextInputElement
Browse files Browse the repository at this point in the history
  • Loading branch information
plantec committed Oct 14, 2024
1 parent fee86c6 commit f0e7e46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions src/Toplo-Widget-Select/ToSelectTextInputElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,12 @@ ToSelectTextInputElement >> onInstalledIn: aNodeContainer [
ToSelectTextInputElement >> onPopupWindowClosed [

self selectedDataTextField visibility: BlVisibility visible.
self selectedDataTextField text foreground: Color black.
self updateFocus
]

{ #category : #window }
ToSelectTextInputElement >> onPopupWindowOpened [

self selectedDataTextField text foreground: Color lightGray.
self updateFocus
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ ToSingleSelectTextInputElement >> checkPlaceholderText [

self inputTextField text
ifEmpty: [
self selectedDataTextField visibility: BlVisibility visible.
self selectedDataTextField text foreground: Color lightGray ]
self selectedDataTextField visibility: BlVisibility visible ]
ifNotEmpty: [
self selectedDataTextField visibility: BlVisibility hidden ]
]
Expand Down

0 comments on commit f0e7e46

Please sign in to comment.