Skip to content

Commit

Permalink
remove info messages on Button
Browse files Browse the repository at this point in the history
  • Loading branch information
wookay committed Sep 3, 2020
1 parent ae98596 commit 9e31f1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 4 additions & 6 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ uuid = "197b51f5-fdb5-5f35-aa9f-0a14f35f5b28"
keywords = ["GUI"]
license = "MIT"
desc = "GUI programming in Julia based on CImGui.jl"
authors = ["WooKyoung Noh <[email protected]>"]
authors = ["WooKyoung Noh <[email protected]>", "Zhang Shitian https://github.com/Eggiverse"]
version = "0.3.1"

[deps]
Expand All @@ -18,19 +18,17 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"

[compat]
CImGui = "1.77"
CImGui = "1.78"
ColorTypes = "0.10"
Colors = "0.12"
FixedPointNumbers = "0.8"
GLFW = "3.2"
Jive = "0.2"
UnicodePlots = "1.2"
julia = "1"

[extras]
GLFW = "f7f18e0c-5ee9-5ccd-a5bf-e8befd85ed98"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

[targets]
test = ["Test", "Random", "GLFW"]
test = ["Test", "Random"]
2 changes: 0 additions & 2 deletions src/Desktop/imgui_controls.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,8 @@ end
function imgui_control_item(imctx::Ptr, item::Button)
CImGui.Button(item.title) || return
if item.async
@info "async pressed"
@async Mouse.leftClick(item)
else
@info "sync pressed"
Mouse.leftClick(item)
end
end
Expand Down

0 comments on commit 9e31f1a

Please sign in to comment.