Skip to content

Commit

Permalink
Made #defaultExtent in StPlaygroundBindingsPresenter, StPlaygroundPag…
Browse files Browse the repository at this point in the history
…esPresenter and StPlaygroundPresenter, as well as #preferredExtent in StPlaygroundPageVersionsPresenter, take the display scale factor into account.
  • Loading branch information
Rinzwind committed Aug 9, 2023
1 parent 4522bfb commit aa4ff88
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 aa4ff88

Please sign in to comment.