mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-17 13:07:17 +02:00
Actualizar PyBlockHalving.scriptable
This commit is contained in:
parent
b76f7b29a2
commit
af53c3f7fa
1 changed files with 9 additions and 3 deletions
|
|
@ -21,11 +21,17 @@ listwidget.refreshAfterDate = new Date(nextRefresh)
|
|||
let sns = new Request('https://raw.githubusercontent.com/curly60e/pyblock/master/pybitblock/resources/images/Logo.PNG');
|
||||
let pyp = await sns.loadImage();
|
||||
let tt = listwidget.addImage(pyp).centerAlignImage()
|
||||
let heading = listwidget.addText(840000
|
||||
+ blockHeight +
|
||||
(840000 - blockHeight));
|
||||
let heading = listwidget.addText(blockHeight);
|
||||
heading.centerAlignText();
|
||||
heading.font = Font.boldSystemFont(70);
|
||||
heading.textColor = new Color("#0aff17");
|
||||
let halving = listwidget.addText("1050000");
|
||||
halving.centerAlignText();
|
||||
halving.font = Font.boldSystemFont(55);
|
||||
halving.textColor = new Color("#0aff17");
|
||||
let target = listwidget.addText("" + (1050000 - blockHeight));
|
||||
target.centerAlignText();
|
||||
target.font = Font.boldSystemFont(70);
|
||||
target.textColor = new Color("#0aff17");
|
||||
return listwidget;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue