Skip to content

Commit 9d59bff

Browse files
committed
refactor: adjust css class names and remove unused
1 parent e6f862d commit 9d59bff

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

overlay/src/styles/app.css

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,12 @@ body {
4242
}
4343

4444
/* Animated container, apply some animation changes */
45-
.t-anim,
45+
.t-img,
4646
.t-pivot {
47-
-webkit-animation-timing-function: linear !important;
4847
animation-timing-function: linear !important;
49-
-webkit-animation-fill-mode: both !important;
5048
animation-fill-mode: both !important;
5149
}
5250

53-
.thrown {
54-
position: absolute;
55-
}
56-
5751
* {
5852
pointer-events: none;
5953
}

overlay/src/vtube-studio/throw-item.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ function createThrownImage(
270270
const elm = image.cloneNode(true) as HTMLImageElement;
271271
const style = elm.style;
272272

273-
elm.classList.add("t-anim");
273+
elm.classList.add("t-img");
274274

275275
style.width = `${scaledWidth}px`;
276276
style.height = `${scaledHeight}px`;

0 commit comments

Comments
 (0)