Skip to content

Commit 4dffb8b

Browse files
authored
fix gridview drawText to work with sdk 2.6.0
2 parents cec21e0 + faebf49 commit 4dffb8b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/lists.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function listview:drawCell(section, row, column, selected, x, y, width, height)
1515
else
1616
gfx.setImageDrawMode(gfx.kDrawModeNXOR)
1717
end
18-
gfx.drawText(listviewContents[row], x + 4, y + 2, width, height, nil, "...", align.center)
18+
gfx.drawText(listviewContents[row], x + 4, y + 2)
1919
end
2020

2121
function listview:set(t)
@@ -42,7 +42,7 @@ function filePickList:drawCell(section, row, column, selected, x, y, width, heig
4242
else
4343
gfx.setImageDrawMode(gfx.kDrawModeNXOR)
4444
end
45-
gfx.drawText(filePickListContents[row], x + 4, y + 2, width, height, nil, "...", align.center)
45+
gfx.drawText(filePickListContents[row], x + 4, y + 2)
4646
end
4747

4848
function filePickList:set(t)
@@ -69,7 +69,7 @@ function settingsList:drawCell(section, row, column, selected, x, y, width, heig
6969
else
7070
gfx.setImageDrawMode(gfx.kDrawModeNXOR)
7171
end
72-
gfx.drawText(settingsListContents[row], x + 4, y + 2, width, height, nil, "...", align.center)
72+
gfx.drawText(settingsListContents[row], x + 4, y + 2)
7373
end
7474

7575
function settingsList:set(t)

src/pdxinfo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ name=CS-16
22
author=nanobot567
33
description=cranky synth 16: a 16-track synthesizer/sampler for playdate.
44
bundleID=com.nano.cs16
5-
version=2.0.2
6-
buildNumber=4624
5+
version=2.0.3
6+
buildNumber=4625
77
imagePath=SystemAssets/

0 commit comments

Comments
 (0)