Visual Console Client: minor fix
Former-commit-id: 72669991e04eaab039390cb612abd9bbc24cdfa9
This commit is contained in:
parent
2854b59826
commit
8329e2f90e
|
@ -177,8 +177,10 @@ export default class Clock extends VisualConsoleItem<ClockProps> {
|
||||||
*/
|
*/
|
||||||
public resize(width: number, height: number): void {
|
public resize(width: number, height: number): void {
|
||||||
super.resize(width, height);
|
super.resize(width, height);
|
||||||
|
// this.childElementRef.style.width = `${width}px`;
|
||||||
|
// this.childElementRef.style.height = `${height}px`;
|
||||||
// Re-render the item to force it calculate a new font size.
|
// Re-render the item to force it calculate a new font size.
|
||||||
this.render();
|
if (this.props.clockType === "digital") this.render();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue