Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Hotfix for new users.
Browse files Browse the repository at this point in the history
Fixed buttons during initial startup not doing anything. Issue introduced by JuliaGraphics/Gtk.jl#607.
Added color names to room window color field tooltip.
Fixed left clicking with circle tool not working.
  • Loading branch information
Cruor authored and Vexatos committed Jan 15, 2022
1 parent f62f882 commit 9a62549
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lang/en_gb.lang
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ room_window.tooltips.delayAltMusicFade=Delay the alternative music fade.
room_window.tooltips.music=What song should be playing in the room, uses previous if left empty.
room_window.tooltips.altMusic=What alternative song should be playing. It is unsure what this means, as it seems to not be hooked up in the game anymore.
room_window.tooltips.windPattern=The type of wind in the room.
room_window.tooltips.color=The colour of the room in the debug map viewer.
room_window.tooltips.color=The colour of the room in the debug map viewer.\n0 - White\n1 - Red\n2 - Green\n3 - Light Blue\n4 - Dark Blue\n5 - Purple\n6 - Pink
room_window.tooltips.cameraOffsetX=Global horizontal offset of camera in room.
room_window.tooltips.cameraOffsetY=Global vertical offset of camera in room.

Expand Down
2 changes: 2 additions & 0 deletions src/Ahorn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ if Sys.iswindows()
ENV["GTK_CSD"] = get(ENV, "GTK_CSD", "0")
end

ENV["GTK_AUTO_IDLE"] = get(ENV, "GTK_AUTO_IDLE", "false")

using Gtk, Gtk.ShortNames, Gtk.GConstants
using Cairo
using Maple
Expand Down
2 changes: 1 addition & 1 deletion src/tools/circles.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function layersChanged(layers::Array{Ahorn.Layer, 1})
end

function leftClick(x::Number, y::Number)
if cirlce !== nothing
if circle !== nothing
applyCircle!(circle, material)

global circle = nothing
Expand Down

0 comments on commit 9a62549

Please sign in to comment.