Skip to content

Commit

Permalink
Remove videos from New Project templates in splash screen as they cau…
Browse files Browse the repository at this point in the history
…se Windows to crash
  • Loading branch information
chrismaltby committed Jun 19, 2024
1 parent f8852fa commit b7041d4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix issue where fonts referenced from GBVM scripts weren't being included in project
- Correct gbvm VM_IF and VM_IF_CONST docs for param N
- Fixed font alignment in asset dropdowns when using folders
- Remove videos from New Project templates in splash screen as they cause Windows to crash

## [4.0.0-rc.2] - 2024-06-13

Expand Down
Binary file added src/assets/templatePreview/gbhtml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/templatePreview/gbs2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/components/app/Splash.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ import { CloseIcon, DotsIcon, LoadingIcon } from "ui/icons/Icons";
import { Button } from "ui/buttons/Button";
import contributors from "contributors.json";
import inbuiltPatrons from "patrons.json";
import gbs2Preview from "assets/templatePreview/gbs2.mp4";
import gbhtmlPreview from "assets/templatePreview/gbhtml.mp4";
import gbs2Preview from "assets/templatePreview/gbs2.png";
import gbhtmlPreview from "assets/templatePreview/gbhtml.png";
import blankPreview from "assets/templatePreview/blank.png";
import useWindowFocus from "ui/hooks/use-window-focus";
import l10n from "shared/lib/lang/l10n";
Expand Down Expand Up @@ -145,14 +145,14 @@ export const Splash = () => {
id: "gbs2",
name: l10n("SPLASH_SAMPLE_PROJECT"),
preview: gbs2Preview,
videoPreview: true,
videoPreview: false,
description: l10n("SPLASH_SAMPLE_PROJECT_DESCRIPTION"),
},
{
id: "gbhtml",
name: `${l10n("SPLASH_SAMPLE_PROJECT")} (GBS 1.0)`,
preview: gbhtmlPreview,
videoPreview: true,
videoPreview: false,
description: l10n("SPLASH_SAMPLE_PROJECT_ORIGINAL_DESCRIPTION"),
},
{
Expand Down

0 comments on commit b7041d4

Please sign in to comment.