Skip to content

Commit

Permalink
裏面にはフィルタをかけない。
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanasu committed Dec 24, 2023
1 parent 60d0a63 commit 2a74bae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/app/component/text-note/text-note.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[style.width.px]="width * gridSize">
<div class="is-3d" [ngClass]="{'fall': altitude == 0, 'softy': !isUpright}" [ngStyle]="{'transform': 'translateZ(' + (altitude * gridSize) + 'px) rotateY(90deg)'}">
<div class="is-3d is-transition" [ngStyle]="{'transform': 'rotateZ(' + (isUpright ? 0 : 90) + 'deg) rotateY(-90deg)'}">
<div class="upright-transform is-3d is-bg-color is-front is-bg-texture chrome-smooth-image-trick" [ngClass]="{'is-bg-filter': isWhiteOut && imageFile?.url.length > 0}"
<div class="upright-transform is-3d is-bg-color is-front is-bg-texture chrome-smooth-image-trick" [ngClass]="{'is-bg-filter': isWhiteOut}"
[style.background-image]="'url(' + imageFile?.url + ')' | safe: 'style'" [style.width.px]="width * gridSize" [style.min-height.px]="height * gridSize">
<div *ngIf="isShowTitle && title.length" class="title is-3d is-black-background is-pointer-events-none">{{title}}</div>
<textarea #textArea (input)="calcFitHeight();" class="textarea is-3d" [ngClass]="{'is-pointer-events-none': !isEditorSelected, 'is-pointer-events-auto': isEditorSelected, 'hide-area': !isEditorSelected}"
Expand All @@ -14,7 +14,7 @@
[style.font-size.px]="fontSize + 9" [style.color]="color" [style.text-shadow]="textShadowCss" [innerHTML]="lastNewLineAdjust(rubiedText) | safe: 'html'"></div>
<div *ngIf="isSelected" class="selected-highlight" [ngClass]="{'is-magnetic': isMagnetic}"></div>
</div>
<div class="upright-transform is-3d is-back is-bg-color is-bg-texture chrome-smooth-image-trick" [ngClass]="{'is-bg-filter': isWhiteOut && imageFile?.url.length > 0}"
<div class="upright-transform is-3d is-back is-bg-color is-bg-texture chrome-smooth-image-trick"
[style.background-image]="'url(' + imageFile?.url + ')' | safe: 'style'" [style.width.px]="width * gridSize" [style.min-height.px]="height * gridSize">
<div *ngIf="isSelected" class="selected-highlight" [ngClass]="{'is-magnetic': isMagnetic}"></div>
<div class="is-3d is-pointer-events-none" style="visibility: hidden">
Expand Down
4 changes: 2 additions & 2 deletions src/app/component/text-note/text-note.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,12 @@ export class TextNoteComponent implements OnChanges, OnDestroy {
}),
(this.isWhiteOut
? {
name: '☑ 画像の色抜き', action: () => {
name: '☑ 背景の色抜き', action: () => {
this.isWhiteOut = false;
},
checkBox: 'check'
} : {
name: '☐ 画像の色抜き', action: () => {
name: '☐ 背景の色抜き', action: () => {
this.isWhiteOut = true;
},
checkBox: 'check'
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<title>Udonarium with Fly 1.9.1 (Powered by Udonarium 1.16.0)</title>
<title>Udonarium with Fly 1.9.1a (Powered by Udonarium 1.16.0)</title>
<base href="./">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="mobile-web-app-capable" content="yes">
Expand Down

0 comments on commit 2a74bae

Please sign in to comment.