Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(#65): compatibility with Pharo 13 #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix(#65): compatibility with Pharo 13 #66

wants to merge 1 commit into from

Conversation

lxsang
Copy link
Owner

@lxsang lxsang commented Oct 24, 2024

  • #when:#do: is deprecated in Announcer, use #when:do:for: instead
  • ScrollBar is renamed to ScrollBarMorph

This fix should be compatible with Pharo 9 and up

- #when:#do: is deprecated in Announcer, use #when:do:for: instead
- ScrollBar is renamed to ScrollBarMorph
@lxsang lxsang requested a review from Rinzwind October 24, 2024 12:00
@@ -1725,7 +1725,7 @@ TerminalEmulatorMorph >> showScrollbar [

scroll isNil
ifTrue:
[scroll := ScrollBar new model: self;
[scroll := (Smalltalk globals at: #ScrollBar ifAbsent: [ ^ScrollBarMorph ]) new model: self;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The block [ ^ScrollBarMorph ] should probably be [ ScrollBarMorph ] (so without the return).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants