From 3d054f146ab63d3f6180a7bd9124584f58f6236d Mon Sep 17 00:00:00 2001 From: "G. Gibson" Date: Thu, 13 Aug 2026 15:46:50 -0700 Subject: [PATCH] test bump --- gxg/web/gxg_windows.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gxg/web/gxg_windows.rb b/gxg/web/gxg_windows.rb index 3bc6e21..afceb95 100644 --- a/gxg/web/gxg_windows.rb +++ b/gxg/web/gxg_windows.rb @@ -364,7 +364,7 @@ module GxG if the_options[:top].is_a?(::String) @top = (bounds[:page_height] * (the_options[:top].gsub("%","").to_f / 100.0)) else - @top = (bounds[:page_height] * (the_options[:top] / 100.0)) + @top = (bounds[:page_height] * (the_options[:top].to_f / 100.0)) end else @top = (the_options[:top] || ((`window.innerHeight`.to_i / 2) - 50)) @@ -373,7 +373,7 @@ module GxG if the_options[:left].is_a?(::String) @left = (bounds[:page_width] * (the_options[:left].gsub("%","").to_f / 100.0)) else - @left = (bounds[:page_width] * (the_options[:left] / 100.0)) + @left = (bounds[:page_width] * (the_options[:left].to_f / 100.0)) end else @left = (the_options[:left] || ((`window.innerWidth`.to_i / 2) - 100)) @@ -382,7 +382,7 @@ module GxG if the_options[:right].is_a?(::String) @right = (bounds[:page_width] * (the_options[:right].gsub("%","").to_f / 100.0)) else - @right = (bounds[:page_width] * (the_options[:right] / 100.0)) + @right = (bounds[:page_width] * (the_options[:right].to_f / 100.0)) end else @right = (the_options[:right] || ((`window.innerWidth`.to_i / 2) + 100)) @@ -391,7 +391,7 @@ module GxG if the_options[:bottom].is_a?(::String) @bottom = (bounds[:page_height] * (the_options[:bottom].gsub("%","").to_f / 100.0)) else - @bottom = (bounds[:page_height] * (the_options[:bottom] / 100.0)) + @bottom = (bounds[:page_height] * (the_options[:bottom].to_f / 100.0)) end else @bottom = (the_options[:bottom] || ((`window.innerHeight`.to_i / 2) + 50))