mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-09 16:21:51 +00:00
Remove changelog skins
The feature wasn't used in the last 2 years anyway.
This commit is contained in:
parent
0f7201c232
commit
b26a43c57c
@ -1,18 +0,0 @@
|
||||
// [data-changelog-skin="achievements"] {
|
||||
// background: #f8f8f8;
|
||||
|
||||
// @include DarkThemeOverride {
|
||||
// background: rgba(0, 10, 20, 0.2);
|
||||
// }
|
||||
|
||||
// @include S(border-radius, 5px);
|
||||
// &::before {
|
||||
// content: " ";
|
||||
// width: 100%;
|
||||
// display: block;
|
||||
// background: uiResource("changelog_skins/achievements.noinline.png") center center / cover no-repeat !important;
|
||||
// @include S(height, 80px);
|
||||
// @include S(border-radius, 5px);
|
||||
// @include S(margin-bottom, 5px);
|
||||
// }
|
||||
// }
|
||||
@ -17,7 +17,6 @@
|
||||
@import "animations";
|
||||
@import "game_state";
|
||||
@import "textual_game_state";
|
||||
@import "changelog_skins";
|
||||
|
||||
@import "states/preload";
|
||||
@import "states/main_menu";
|
||||
|
||||
@ -107,7 +107,6 @@ export const CHANGELOG = [
|
||||
{
|
||||
version: "1.3.0",
|
||||
date: "12.03.2020",
|
||||
skin: "achievements",
|
||||
entries: [
|
||||
"There are now <strong>45 Steam Achievements!</strong>",
|
||||
"Fixed constant signals being editable from the regular layer",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { CHANGELOG } from "../changelog";
|
||||
import { TextualGameState } from "../core/textual_game_state";
|
||||
import { T } from "../translations";
|
||||
import { CHANGELOG } from "../changelog";
|
||||
|
||||
export class ChangelogState extends TextualGameState {
|
||||
constructor() {
|
||||
@ -19,7 +19,7 @@ export class ChangelogState extends TextualGameState {
|
||||
for (let i = 0; i < entries.length; ++i) {
|
||||
const entry = entries[i];
|
||||
html += `
|
||||
<div class="entry" data-changelog-skin="${entry.skin || "default"}">
|
||||
<div class="entry">
|
||||
<span class="version">${entry.version}</span>
|
||||
<span class="date">${entry.date}</span>
|
||||
<ul class="changes">
|
||||
|
||||
@ -160,9 +160,7 @@ export class PreloadState extends GameState {
|
||||
for (let i = 0; i < changelogEntries.length; ++i) {
|
||||
const entry = changelogEntries[i];
|
||||
dialogHtml += `
|
||||
<div class="changelogDialogEntry" data-changelog-skin="${
|
||||
entry.skin || "default"
|
||||
}">
|
||||
<div class="changelogDialogEntry">
|
||||
<span class="version">${entry.version}</span>
|
||||
<span class="date">${entry.date}</span>
|
||||
<ul class="changes">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user