Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Commit 54ff43a

Browse files
authored
Merge pull request #78 from PRIME-TU-Delft/development
bugfixes
2 parents 21862cf + 5733ea6 commit 54ff43a

File tree

10 files changed

+255
-170
lines changed

10 files changed

+255
-170
lines changed

src/lib/assets/dnd-icon.svg

-1.48 KB
Loading

src/lib/components/Graph.svelte

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@
1818
<div class="graph">
1919
<svg use:graphSVG.attach />
2020

21-
{#if graphSVG.interactive}
22-
<div class="zoom">
23-
<button on:click={() => graphSVG.zoomIn()}><img src={zoom_in_icon} alt="Zoom in"></button>
24-
<button on:click={() => graphSVG.zoomOut()}><img src={zoom_out_icon} alt="Zoom out"></button>
25-
</div>
26-
{/if}
21+
<div class="zoom">
22+
<button on:click={() => graphSVG.zoomIn()}><img src={zoom_in_icon} alt="Zoom in"></button>
23+
<button on:click={() => graphSVG.zoomOut()}><img src={zoom_out_icon} alt="Zoom out"></button>
24+
</div>
2725
</div>
2826

2927
<!-- Styles -->

src/lib/scripts/controllers/LinkController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class LinkController {
111111
get url(): string {
112112
if (this.validate().severity === Severity.error)
113113
return ''
114-
return `${settings.ROOT_URL}/app/course/${this.course.code}/${this.name}`
114+
return `${settings.ROOT_URL}/app/course/${this.course.code}/${this.name}?view=subjects`
115115
}
116116

117117
// --------------------> Assignments

src/lib/scripts/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type Milliseconds = number
66

77
// -------------------> General settings
88

9-
export const ROOT_URL = 'localhost:5173'
9+
export const ROOT_URL = 'https://beta.prime-applets.ewi.tudelft.nl'
1010

1111
export const MAX_PROGRAM_NAME_LENGTH: Scalar = 50
1212

0 commit comments

Comments
 (0)