about summary refs log tree commit diff stats
path: root/help.lua
diff options
context:
space:
mode:
Diffstat (limited to 'help.lua')
-rw-r--r--help.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/help.lua b/help.lua
index 2abeb00..145692f 100644
--- a/help.lua
+++ b/help.lua
@@ -146,11 +146,6 @@ function current_shape(State, shape)
   end
 end
 
-_bullet_indent = nil
 function bullet_indent()
-  if _bullet_indent == nil then
-    local text = love.graphics.newText(love.graphics.getFont(), '* ')
-    _bullet_indent = text:getWidth()
-  end
-  return _bullet_indent
+  return App.width(to_text('* '))
 end