Skip to content

Instantly share code, notes, and snippets.

View Elerphore's full-sized avatar
♣️

Elerphore

♣️
View GitHub Profile
def set_bars_positions item
item.x = item[:x] * 60
item.y = ($gtk.args.state.border.y + $gtk.args.state.border.h - 60) - item[:y] * 60
item.w = 60
item.h = 60
end
def set_bases_positions item
item.x = item[:x] * 60
item.y = ($gtk.args.state.border.y + $gtk.args.state.border.h - 60) - item[:y] * 60