diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-12-18 21:55:14 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-12-18 21:55:14 -0800 |
commit | 4b6a8aaba65c404a4acdcaa128a83285bee12a27 (patch) | |
tree | 34cb38a9a2904f612f3ea8609809e60c8d9e1257 /source_text.lua | |
parent | 02966ebb0bd421ed22687e52080e1c7387e93614 (diff) | |
parent | 81883d7dcaad04bcc335043db45b2f6fb2b16801 (diff) | |
download | view.love-4b6a8aaba65c404a4acdcaa128a83285bee12a27.tar.gz |
Merge lines.love
Diffstat (limited to 'source_text.lua')
-rw-r--r-- | source_text.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source_text.lua b/source_text.lua index dac2820..a1c7e6c 100644 --- a/source_text.lua +++ b/source_text.lua @@ -34,7 +34,7 @@ function Text.draw(State, line_index, y, startpos, hide_cursor, show_line_number local s,e,filename = unpack(link_offsets) local lo, hi = Text.clip_wikiword_with_screen_line(line, line_cache, i, s, e) if lo then - button(State, 'link', {x=State.left+lo, y=y, w=hi-lo, h=State.line_height, bg={r=1,g=1,b=1}, + button(State, 'link', {x=State.left+lo, y=y, w=hi-lo, h=State.line_height, icon = icon.hyperlink_decoration, onpress1 = function() if file_exists(filename) then |