diff --git a/.luarc.json b/.luarc.json index afc2554cc..8e35d2eee 100644 --- a/.luarc.json +++ b/.luarc.json @@ -1,5 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json", "runtime.version": "LuaJIT", + "diagnostics.workspaceDelay": -1, } diff --git a/base b/base --- a/base +++ b/base @@ -1 +1 @@ -Subproject commit 4733fa06a48beb30d5e70b31358e9e537d87eca4 +Subproject commit 4733fa06a48beb30d5e70b31358e9e537d87eca4-dirty diff --git a/frontend/apps/reader/modules/readerview.lua b/frontend/apps/reader/modules/readerview.lua index 3c0c5273b..ec23ddf10 100644 --- a/frontend/apps/reader/modules/readerview.lua +++ b/frontend/apps/reader/modules/readerview.lua @@ -621,13 +621,13 @@ function ReaderView:drawHighlightRect(bb, _x, _y, rect, drawer, draw_note_mark) if drawer == "lighten" then bb:lightenRect(x, y, w, h, self.highlight.lighten_factor) elseif drawer == "underscore" then - bb:paintRect(x, y + h - 1, w, Size.line.medium, Blitbuffer.COLOR_GRAY) + bb:paintColorRect(x, y + h - 1, w, Size.line.medium, Blitbuffer.COLOR_TEST) elseif drawer == "strikeout" then local line_y = y + math.floor(h / 2) + 1 if self.ui.paging then line_y = line_y + 2 end - bb:paintRect(x, line_y, w, Size.line.medium, Blitbuffer.COLOR_BLACK) + bb:paintColorRect(x, line_y, w, Size.line.medium, Blitbuffer.COLOR_TEST) elseif drawer == "invert" then bb:invertRect(x, y, w, h) end