summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lua/include_lua/draw.lua
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/include_lua/draw.lua')
-rw-r--r--apps/plugins/lua/include_lua/draw.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lua/include_lua/draw.lua b/apps/plugins/lua/include_lua/draw.lua
index 7bf71f0a6b..0ee3e93d75 100644
--- a/apps/plugins/lua/include_lua/draw.lua
+++ b/apps/plugins/lua/include_lua/draw.lua
@@ -350,8 +350,8 @@ local _draw = {} do
if rb.LCD_DEPTH == 2 then -- invert 2-bit screens
--vp.drawmode = bit.bxor(vp.drawmode, 4)
- vp.fg_pattern = 3 - vp.fg_pattern
- vp.bg_pattern = 3 - vp.bg_pattern
+ opts.fg_pattern = 3 - opts.fg_pattern
+ opts.bg_pattern = 3 - opts.bg_pattern
end
rb.set_viewport(opts)