Skip to content

Commit

Permalink
fix: 地形の大きさに負の値を入力した時の表示
Browse files Browse the repository at this point in the history
  • Loading branch information
TK11235 committed Nov 20, 2017
1 parent 969d422 commit b7563f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/component/terrain/terrain.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div #tableMask class="game-char" [style.width.px]="terrain.width * gridSize" [style.height.px]="terrain.depth * gridSize"
<div #tableMask class="game-char" [style.width.px]="width * gridSize" [style.height.px]="depth * gridSize"
(contextmenu)="onContextMenu($event)"
[ngStyle]="{'pointer-events': 'none'}"
[ngClass]="{'transition': !isDragging}">
Expand Down

0 comments on commit b7563f1

Please sign in to comment.