summaryrefslogtreecommitdiffhomepage
path: root/dragon/framerate_diagnostics.rb
diff options
context:
space:
mode:
author_Tradam <[email protected]>2021-12-16 19:22:26 -0500
committerGitHub <[email protected]>2021-12-16 19:22:26 -0500
commit5954b9beb4d4a3b4f248d72d1851195f030558a8 (patch)
treefecd8aa840a25afdb502915b0fdb4d03b7ed339a /dragon/framerate_diagnostics.rb
parent2f845281f133849256b57bb08fd3e9ae57600784 (diff)
parenteaa29e72939f5edf61735ccbb73c36ee89369f65 (diff)
downloaddragonruby-game-toolkit-contrib-master.tar.gz
dragonruby-game-toolkit-contrib-master.zip
Merge branch 'DragonRuby:master' into masterHEADmaster
Diffstat (limited to 'dragon/framerate_diagnostics.rb')
-rw-r--r--dragon/framerate_diagnostics.rb13
1 files changed, 7 insertions, 6 deletions
diff --git a/dragon/framerate_diagnostics.rb b/dragon/framerate_diagnostics.rb
index 4586472..6985011 100644
--- a/dragon/framerate_diagnostics.rb
+++ b/dragon/framerate_diagnostics.rb
@@ -1,3 +1,4 @@
+# coding: utf-8
# Copyright 2019 DragonRuby LLC
# MIT License
# framerate_diagnostics.rb has been released under MIT (*only this file*).
@@ -115,7 +116,7 @@ If this warning is getting annoying put the following in your tick method:
def framerate_diagnostics_primitives
[
- { x: 0, y: 93.from_top, w: 500, h: 93, a: 128 }.solid,
+ { x: 0, y: 93.from_top, w: 500, h: 93, a: 128 }.solid!,
{
x: 5,
y: 5.from_top,
@@ -124,7 +125,7 @@ If this warning is getting annoying put the following in your tick method:
g: 255,
b: 255,
size_enum: -2
- }.label,
+ }.label!,
{
x: 5,
y: 20.from_top,
@@ -133,7 +134,7 @@ If this warning is getting annoying put the following in your tick method:
g: 255,
b: 255,
size_enum: -2
- }.label,
+ }.label!,
{
x: 5,
y: 35.from_top,
@@ -142,7 +143,7 @@ If this warning is getting annoying put the following in your tick method:
g: 255,
b: 255,
size_enum: -2
- }.label,
+ }.label!,
{
x: 5,
y: 50.from_top,
@@ -151,7 +152,7 @@ If this warning is getting annoying put the following in your tick method:
g: 255,
b: 255,
size_enum: -2
- }.label,
+ }.label!,
{
x: 5,
y: 65.from_top,
@@ -160,7 +161,7 @@ If this warning is getting annoying put the following in your tick method:
g: 255,
b: 255,
size_enum: -2
- }.label,
+ }.label!,
]
end