about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-04-15 19:41:03 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commitdfbc2fc51862157e095dbd42c90979c3877a0161 (patch)
tree3aa25422d838fe534780238ca24b5362d7b517ba /app/models
parent1930b2332d4de7be92acaf1818ba7c936ec0fde8 (diff)
Add options to increase size and spacing of action buttons and width of compose drawer.
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index f6f164c0b..ac900d011 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -109,6 +109,8 @@ class User < ApplicationRecord
     :disable_color,
     :hide_captions,
     :larger_menus,
+    :larger_buttons,
+    :larger_drawer,
     :gently_kobolds,
     :user_is_kobold,
 
@@ -217,6 +219,14 @@ class User < ApplicationRecord
     settings.larger_menus || false
   end
 
+  def setting_larger_buttons
+    settings.larger_buttons || false
+  end
+
+  def setting_larger_drawer
+    settings.larger_drawer || false
+  end
+
   def setting_gently_kobolds
     settings.gently_kobolds || false
   end