update stale information
This commit is contained in:
parent
afadb4db66
commit
da932ce92d
|
@ -20,8 +20,8 @@ Alternatively, turn it into a .love file you can double-click on:
|
||||||
$ zip -r /tmp/lines.love *.lua
|
$ zip -r /tmp/lines.love *.lua
|
||||||
```
|
```
|
||||||
|
|
||||||
By default, lines.love reads/writes the file `lines.txt` in your default
|
By default, lines.love reads/writes the file `lines.txt` in a directory
|
||||||
user/home directory (`https://love2d.org/wiki/love.filesystem.getUserDirectory`).
|
specific to this app (https://love2d.org/wiki/love.filesystem.getSourceBaseDirectory).
|
||||||
|
|
||||||
To open a different file, drop it on the lines.love window.
|
To open a different file, drop it on the lines.love window.
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,7 @@ function edit.initialize_state(top, left, right, font_height, line_height) -- c
|
||||||
right = math.floor(right),
|
right = math.floor(right),
|
||||||
width = right-left,
|
width = right-left,
|
||||||
|
|
||||||
filename = love.filesystem.getUserDirectory()..'/lines.txt', -- '/' should work even on Windows
|
filename = love.filesystem.getSourceBaseDirectory()..'/lines.txt', -- '/' should work even on Windows
|
||||||
next_save = nil,
|
next_save = nil,
|
||||||
|
|
||||||
-- undo
|
-- undo
|
||||||
|
|
Loading…
Reference in New Issue
Block a user