From 91a524f32cf069a78d1655c5c15f321d4633eb86 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Sun, 22 Dec 2024 15:15:30 -0800 Subject: [PATCH] remove commented-out lines --- internal/driver/glfw/window_wasm.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/internal/driver/glfw/window_wasm.go b/internal/driver/glfw/window_wasm.go index 38833200b6..b969a128a4 100644 --- a/internal/driver/glfw/window_wasm.go +++ b/internal/driver/glfw/window_wasm.go @@ -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), @@ -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() {