Skip to content

Commit

Permalink
Merge pull request TK11235#135 from entyu/v1.09.0b2
Browse files Browse the repository at this point in the history
V1.09.0b2
  • Loading branch information
entyu authored Nov 7, 2022
2 parents ffcafd1 + 6edb9dc commit 5ce5b36
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 24 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "udonarium_lily",
"version": "1.09.0b1",
"version": "1.09.0b2",
"license": "MIT",
"scripts": {
"ng": "ng",
Expand Down
7 changes: 7 additions & 0 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ import { AlarmWindowComponent } from 'component/alarm-window/alarm-window.compon
export class AppComponent implements AfterViewInit, OnDestroy {

@ViewChild('modalLayer', { read: ViewContainerRef, static: true }) modalLayerViewContainerRef: ViewContainerRef;

get reloadCheck(): ReloadCheck { return ObjectStore.instance.get<ReloadCheck>('ReloadCheck'); }
networkService = Network;

private immediateUpdateTimer: NodeJS.Timer = null;
private lazyUpdateTimer: NodeJS.Timer = null;
private openPanelCount = 0;
Expand Down Expand Up @@ -416,6 +420,9 @@ export class AppComponent implements AfterViewInit, OnDestroy {
handleFileSelect(event: Event) {
let input = <HTMLInputElement> event.target;
let files = input.files;

this.reloadCheck.reloadCheckStart(this.networkService.peerContext.roomName != '');

if (files.length) FileArchiver.instance.load(files);
input.value = '';
}
Expand Down
1 change: 0 additions & 1 deletion src/app/class/core/file-storage/file-archiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export class FileArchiver {
}

networkService = Network;

get reloadCheck(): ReloadCheck { return ObjectStore.instance.get<ReloadCheck>('ReloadCheck'); }

private maxImageSize = 2 * MEGA_BYTE;
Expand Down
3 changes: 2 additions & 1 deletion src/app/class/reload-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { TabletopObject } from './tabletop-object';
@SyncObject('reload-check')
export class ReloadCheck extends TabletopObject {

private reloadOK : boolean = false;
private reloadOK : boolean = true;
private isAnswer : boolean = false;

reloadCheckStart(isOnline: boolean){
Expand All @@ -27,6 +27,7 @@ export class ReloadCheck extends TabletopObject {
}

isLoadOk(): boolean{
console.log('isLoadOk :' + this.reloadOK);
return this.reloadOK;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,32 @@
<div class="table-cell">
<div>第1色</div>
<input type="color" name="color01" list="color-list_01" (change)="changeColor($event.target.value,0)" value="{{this.chatColorCode(0)}}">
<!-- クローム側の更新都合による現象でリスト設定の値が正常に入らなくなったため一時的にリスト設定を辞める
<datalist id="color-list_01">
<option value="#000000">
<option value="#FF0000">
<option value="#999999">
<option value="#990000">
<option value="#FF6633">
<option value="000000">
<option value="FF0000">
<option value="999999">
<option value="990000">
<option value="FF6633">
<option value="#669933">
<option value="#00CC33">
<option value="#009966">
<option value="#33CCFF">
<option value="#0099FF">
<option value="669933">
<option value="00CC33">
<option value="009966">
<option value="33CCFF">
<option value="0099FF">
<option value="#3366FF">
<option value="#003399">
<option value="#9933CC">
<option value="#663366">
<option value="#FF66FF">
<option value="3366FF">
<option value="003399">
<option value="9933CC">
<option value="663366">
<option value="FF66FF">
</datalist>
-->
</div>

<div class="table-cell">
<div>第2色</div>
<input type="color" name="color02" list="color-list_02" (change)="changeColor($event.target.value,1)" value="{{this.chatColorCode(1)}}">
<!--
<datalist id="color-list_02">
<option value="#000000">
<option value="#FF0000">
Expand All @@ -46,11 +48,13 @@
<option value="#663366">
<option value="#FF66FF">
</datalist>
-->
</div>

<div class="table-cell">
<div>第3色</div>
<input type="color" name="color03" list="color-list_03" (change)="changeColor($event.target.value,2)" value="{{this.chatColorCode(2)}}">
<!--
<datalist id="color-list_03">
<option value="#000000">
<option value="#FF0000">
Expand All @@ -70,6 +74,7 @@
<option value="#663366">
<option value="#FF66FF">
</datalist>
-->
</div>

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
<div>
境界線
<input type="color" name="color01" list="color-list_01" (change)="changeRangeColor($event.target.value)" value="{{tabletopObject.rangeColor}}">
<!-- クローム側の更新都合による現象でリスト設定の値が正常に入らなくなったため一時的にリスト設定を辞める
<datalist id="color-list_01">
<option value="#000000">
<option value="#FF0000">
Expand All @@ -186,9 +187,10 @@
<option value="#663366">
<option value="#FF66FF">
</datalist>
-->
塗りつぶし
<input type="color" name="color02" list="color-list_02" (change)="changeGridColor($event.target.value)" value="{{tabletopObject.gridColor}}">
<!-- クローム側の更新都合による現象でリスト設定の値が正常に入らなくなったため一時的にリスト設定を辞める
<datalist id="color-list_02">
<option value="#000000">
<option value="#FF0000">
Expand All @@ -208,6 +210,7 @@
<option value="#663366">
<option value="#FF66FF">
</datalist>
-->
</div>
<div *ngIf="tabletopObject.type != 'CIRCLE'">
回転角度のスナップを細かくする:<input type="checkbox" value="noSnapPolygonal"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@
グリッド色:
<input type="color" [(ngModel)]="tableGridColor" name="tableGridColor"
list="table-grid-color-list" [attr.disabled]="!isEditable ? '' : null">
<!-- クローム側の更新都合による現象でリスト設定の値が正常に入らなくなったため一時的にリスト設定を辞める
<datalist id="table-grid-color-list">
<option value="#000000">
<option value="#dddddd">
</datalist>
-->
</div>
<div>
背景フィルタ
Expand Down
2 changes: 1 addition & 1 deletion src/app/directive/rotable.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export class RotableDirective implements AfterViewInit, OnDestroy {

snapToPolygonal(polygonal: number = 24) {
if (polygonal <= 1) return;
if (this.tabletopObject.aliasName == 'range'){
if ( this.tabletopObject instanceof RangeArea) {
let range = <RangeArea>this.tabletopObject;
if (range.subDivisionSnapPolygonal) polygonal = 240;
}
Expand Down
8 changes: 7 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
</script>

<title>UdonariumLily 1.09.0b1</title>
<title>UdonariumLily 1.09.0b2</title>
<!--
0.02.0 立ち絵表示を12ポジションに、アクティブを手前に、他を薄く
Expand Down Expand Up @@ -312,6 +312,12 @@
1.09.0b1
・BCDice-jsを4.03-(3.7.0)に更新
1.09.0b2
・ZIP読み込みボタンでデータをロードした際、画像等が読み込まれないケースがある不具合を修正
・クローム最新版(ver107系統)で色選択時に選択色が透明になってしまう不具合を修正
・キャラクターのコマを縦回転させたときにスナップが聞かなくなっていた不具合を修正
・BCDice-jsの取り扱いを本家に沿う形に修正
-->
<base href="./">
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand Down

0 comments on commit 5ce5b36

Please sign in to comment.