test bump

This commit is contained in:
G. Gibson 2026-08-13 15:46:50 -07:00
parent f50308f9e8
commit 3d054f146a

View file

@ -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))