Updated consumer with text
This commit is contained in:
2026-06-14 22:20:55 -06:00
parent 8bf6b14446
commit 96fa6d3c62
3 changed files with 1 additions and 4 deletions
-1
View File
@@ -44,7 +44,6 @@ class Producer
@draw_y = (((((@screen_height / @box_size.to_f) / 2.0) + (@y - camera_y) * camera_zoom) * @box_size) + BORDER * camera_zoom)
@camera_zoom = camera_zoom
if 0 < mouse_x - @draw_x && mouse_x - @draw_x < (@box_size * @camera_zoom) && 0 < mouse_y - @draw_y && mouse_y - @draw_y < (@box_size * @camera_zoom)
puts 'mouse in consumer'
@tooltip_timer += 60.0 * delta_mult
if @tooltip_timer > HOVER_TIME
@tooltip.show = true