🐛 use proper size for g2
parent
1188025348
commit
c720e7ff04
|
|
@ -4,3 +4,4 @@
|
|||
0.30: Fix size of animation and drawing slope to left upper
|
||||
0.40: Try with halving the other scalars
|
||||
0.41: Use different font for clock
|
||||
0.42: Minor fix; use proper amount of g2
|
||||
|
|
|
|||
|
|
@ -25,13 +25,9 @@ let drawTimeout;
|
|||
|
||||
//let g2 = Graphics.createArrayBuffer(g.getWidth(),90,1,{msb:true});
|
||||
let g2 = Graphics.createArrayBuffer(g.getWidth() / 2,g.getHeight() / 2,1,{msb:true});
|
||||
// let g2img = {
|
||||
// width:g2.getWidth(), height:g2.getHeight(), bpp:1,
|
||||
// buffer:g2.buffer, transparent:0
|
||||
// };
|
||||
let g2img = {
|
||||
width:g2.getWidth() / 2, height:g2.getHeight() / 2, bpp:1,
|
||||
buffer:g2.buffer, transparent:0
|
||||
width:g2.getWidth(), height:g2.getHeight(), bpp:1,
|
||||
buffer:g2.buffer, transparent:0
|
||||
};
|
||||
const slope = 10;
|
||||
const offsY = 10; // offset of numbers from middle
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ "id": "slopeclockbig",
|
||||
"name": "Slope Clock BIG",
|
||||
"version":"0.41",
|
||||
"version":"0.42",
|
||||
"description": "A clock where hours and minutes are divided by a sloping line. When the minute changes, the numbers slide off the screen. This is a clone of the original Slope Clock which shows extra information and allows the colors to be selected.",
|
||||
"icon": "app.png",
|
||||
"screenshots": [{"url":"screenshot.png"}],
|
||||
|
|
|
|||
Loading…
Reference in New Issue