Skip to content

Commit

Permalink
重なり順のUI変更。
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanasu committed Dec 23, 2023
1 parent b71ef7b commit 28f2a5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ export class GameTableMaskComponent implements OnChanges, OnDestroy, AfterViewIn
checkBox: 'check'
}
),
{ name: '重なり順', action: null, subActions: [
(this.isLock ? null : { name: '重なり順', action: null, subActions: [
{
name: 'マップマスクの一番上に', action: () => {
if (!this.isLock) {
Expand All @@ -552,7 +552,7 @@ export class GameTableMaskComponent implements OnChanges, OnDestroy, AfterViewIn
disabled: this.isLock
}],
disabled: this.isLock
},
}),
ContextMenuSeparator,
(!this.gameTableMask.isMine ?
{
Expand Down
4 changes: 2 additions & 2 deletions src/app/component/terrain/terrain.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ export class TerrainComponent implements OnChanges, OnDestroy, AfterViewInit {
checkBox: 'check'
}
),
{ name: `重なり順 ${this.height === 0 ? '' : ' (平面地形のみ)' }`, action: null, subActions: [
(this.isLocked ? null : { name: `重なり順 ${this.height === 0 ? '' : ' (平面地形のみ)' }`, action: null, subActions: [
{
name: '平面地形の一番上に', action: () => {
if (!this.isLocked) {
Expand All @@ -335,7 +335,7 @@ export class TerrainComponent implements OnChanges, OnDestroy, AfterViewInit {
disabled: this.isLocked
}],
disabled: this.isLocked || this.height != 0
},
}),
ContextMenuSeparator,
{ name: '傾斜', action: null, subActions: [
{
Expand Down

0 comments on commit 28f2a5b

Please sign in to comment.