diff options
| author | Amir Rajan <[email protected]> | 2020-09-02 13:23:46 -0500 |
|---|---|---|
| committer | Amir Rajan <[email protected]> | 2020-09-02 13:23:46 -0500 |
| commit | b618bdd406a3817bcc53daed0612f79b2d9178f8 (patch) | |
| tree | 1772b9e1c332d350b34027e2fe344173887819f4 /samples | |
| parent | 64046616ce54fff32c3dd949a4b7702136f38a3e (diff) | |
| download | dragonruby-game-toolkit-contrib-b618bdd406a3817bcc53daed0612f79b2d9178f8.tar.gz dragonruby-game-toolkit-contrib-b618bdd406a3817bcc53daed0612f79b2d9178f8.zip | |
Synced with 1.18.
Diffstat (limited to 'samples')
| -rw-r--r-- | samples/00_beginner_ruby_primer/app/main.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/00_beginner_ruby_primer/app/main.rb b/samples/00_beginner_ruby_primer/app/main.rb index 33c6dbf..6822cf3 100644 --- a/samples/00_beginner_ruby_primer/app/main.rb +++ b/samples/00_beginner_ruby_primer/app/main.rb @@ -76,8 +76,8 @@ end def tick_reset_button return unless state.hello_dragonruby_confirmed - $gtk.reserved_primitives << state.reset_button.background - $gtk.reserved_primitives << state.reset_button.label + $gtk.args.outputs.reserved << state.reset_button.background + $gtk.args.outputs.reserved << state.reset_button.label if inputs.mouse.click && inputs.mouse.click.point.inside_rect?(state.reset_button.background) restart_tutorial end |
