Skip to content

Commit

Permalink
Merge pull request #577 from Rinzwind/playground-display-scale-factor
Browse files Browse the repository at this point in the history
Make #defaultExtent and #preferredExtent in playground presenters take the display scale factor into account
  • Loading branch information
jecisc authored Aug 10, 2023
2 parents 4522bfb + aa4ff88 commit f9e25b6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Class {
{ #category : #accessing }
StPlaygroundBindingsPresenter class >> defaultExtent [

^ 600@400
^ (600@400) scaledByDisplayScaleFactor
]

{ #category : #accessing }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Class {
{ #category : #accessing }
StPlaygroundPageVersionsPresenter class >> preferredExtent [

^ 700@400
^ (700@400) scaledByDisplayScaleFactor
]

{ #category : #actions }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Class {
{ #category : #accessing }
StPlaygroundPagesPresenter class >> defaultExtent [

^ 700@400
^ (700@400) scaledByDisplayScaleFactor
]

{ #category : #layout }
Expand Down
2 changes: 1 addition & 1 deletion src/NewTools-Playground/StPlaygroundPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ StPlaygroundPresenter class >> defaultCacheDirectory [
{ #category : #accessing }
StPlaygroundPresenter class >> defaultExtent [

^ 600@400
^ (600@400) scaledByDisplayScaleFactor
]

{ #category : #accessing }
Expand Down

0 comments on commit f9e25b6

Please sign in to comment.