282
289
var monitor = screen.get_monitor_geometry (screen.get_primary_monitor ());
283
290
var scale = (float)(monitor.height - TOP_OFFSET - BOTTOM_OFFSET) / monitor.height;
284
291
var pivotY = TOP_OFFSET / (monitor.height - monitor.height * scale);
285
295
background.set_pivot_point (0.5f, pivotY);
287
297
background.save_easing_state ();