forked from Blendman974/faceclaw
Fixed doubled border on terminal app
This commit is contained in:
1 parent
abfec1b372
commit
915aa78653
1 file changed
+1
-1
@@ -458,8 +458,8 @@ function paint(window: TerminalWindow): GrayImage {
|
|||||||
|
|
||||||
function paintHub(window: HubWindow): GrayImage {
|
function paintHub(window: HubWindow): GrayImage {
|
||||||
const image = new GrayImage(viewportWidth, viewportHeight, 0);
|
const image = new GrayImage(viewportWidth, viewportHeight, 0);
|
||||||
|
// No border box: the shell chrome (top bar + sidebar) already frames the app.
|
||||||
image.drawText(terminalFont, 18, 10, "Terminal", 220);
|
image.drawText(terminalFont, 18, 10, "Terminal", 220);
|
||||||
image.drawRect(12, 8, viewportWidth - 24, viewportHeight - 16, 52);
|
|
||||||
image.drawText(terminalFont, 24, 30, hubStatusLine(), 170);
|
image.drawText(terminalFont, 24, 30, hubStatusLine(), 170);
|
||||||
|
|
||||||
let listTop = 52;
|
let listTop = 52;
|
||||||
|
|||||||
Reference in new issue
Block a user