-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a value field to FFlags and changed how the saved
- Loading branch information
1 parent
277d434
commit 381cd6f
Showing
11 changed files
with
242 additions
and
68 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import Root from "./progress.svelte"; | ||
|
||
export { | ||
Root, | ||
// | ||
Root as Progress, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<script lang="ts"> | ||
import { Progress as ProgressPrimitive } from "bits-ui"; | ||
import { cn } from "$lib/utils.js"; | ||
type $$Props = ProgressPrimitive.Props; | ||
let className: $$Props["class"] = undefined; | ||
export let max: $$Props["max"] = 100; | ||
export let value: $$Props["value"] = undefined; | ||
export { className as class }; | ||
</script> | ||
|
||
<ProgressPrimitive.Root | ||
class={cn("relative h-4 w-full overflow-hidden rounded-full bg-secondary", className)} | ||
{...$$restProps} | ||
> | ||
<div | ||
class="h-full w-full flex-1 bg-primary transition-all" | ||
style={`transform: translateX(-${100 - (100 * (value ?? 0)) / (max ?? 1)}%)`} | ||
/> | ||
</ProgressPrimitive.Root> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { pathExists } from "./utils"; | ||
|
||
export async function hasRoblox(): Promise<boolean> { | ||
if (await pathExists("/Applications/Roblox.app/Contents/MacOS/RobloxPlayer")) { | ||
return true | ||
} else { | ||
return false | ||
} | ||
} |
Oops, something went wrong.