Skip to content

Commit

Permalink
remove commented-out lines
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth authored Dec 22, 2024
1 parent 528768e commit 91a524f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions internal/driver/glfw/window_wasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ func (w *window) rescaleOnMain() {
return
}

// if w.fullScreen {
w.width, w.height = w.viewport.GetSize()
scaledFull := fyne.NewSize(
scale.ToFyneCoordinate(w.canvas, w.width),
Expand All @@ -479,12 +478,6 @@ func (w *window) rescaleOnMain() {
// Ensure textures re-rasterize at the new scale
cache.DeleteTextTexturesFor(w.canvas)
w.canvas.content.Refresh()
//return
// }

// size := w.canvas.size.Union(w.canvas.MinSize())
// newWidth, newHeight := w.screenSize(size)
// w.viewport.SetSize(newWidth, newHeight)
}

func (w *window) create() {
Expand Down

0 comments on commit 91a524f

Please sign in to comment.