Better screen zoom that makes use of the full width of the simulator. (#471)
This commit is contained in:
13
sim/visuals/nodes/brickViewPortrait.ts
Normal file
13
sim/visuals/nodes/brickViewPortrait.ts
Normal file
@ -0,0 +1,13 @@
|
||||
/// <reference path="./moduleView.ts" />
|
||||
|
||||
namespace pxsim.visuals {
|
||||
|
||||
export class BrickViewPortrait extends BrickView implements LayoutElement {
|
||||
|
||||
constructor(port: number) {
|
||||
super(EV3_SVG, "board", port);
|
||||
|
||||
this.btnids = ["btn_up", "btn_enter", "btn_down", "btn_right", "btn_left", "btn_back"];
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user