Skip to content

Commit

Permalink
Correctly scale on non-Linux machines
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Jul 10, 2018
1 parent 2f18d56 commit 5a0d95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/window.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func CreateWindowWithEngine(engine string) fyne.Window {

w.canvas = &eflCanvas{
evas: C.ecore_evas_get(evas),
scale: 1.0,
scale: scaleByDPI(w),
window: w,
}

Expand Down

0 comments on commit 5a0d95a

Please sign in to comment.