From 354c6c07acf3f833f94c4506a606134b635c9acb Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Date: Tue, 21 Apr 2020 08:00:34 -0400
Subject: [PATCH] Loosened the restrictions on wide layout's minimum
 resolution.

---
 lib/aethyr/core/render/display.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/aethyr/core/render/display.rb b/lib/aethyr/core/render/display.rb
index 961744b..36219b4 100644
--- a/lib/aethyr/core/render/display.rb
+++ b/lib/aethyr/core/render/display.rb
@@ -85,7 +85,7 @@ class Display
   def layout(layout: @layout_type)
     puts "layout #{layout} set for resolution #{@width}x#{@height}"
     @layout_type = layout
-    if @layout_type == :wide && @height >= 60 && @width >= 332
+    if @layout_type == :wide && @height >= 60 && @width >= 300
       @windows[:quick_bar].create(height: 3, y: @height - 5)
       @windows[:map].create(height: @height/2 + 1, width: 166)
       @windows[:look].create(height: @height/2 - 3, width: 83, y: @height/2)
-- 
GitLab