Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions contracts/con_pixel_frames.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def enforce_thing_standards(thing_string: str, name: str, description: str, meta

def custom_string_validations(thing_string: str, num_of_frames: int):
#Validate num_of_frames
assert num_of_frames >= 1 and num_of_frames <= 8, "num_of_frames value " + str(num_of_frames) + " is out of range (1-4)."
assert num_of_frames >= 1 and num_of_frames <= 8, "num_of_frames value " + str(num_of_frames) + " is out of range (1-8)."
assert len(thing_string) % num_of_frames == 0, "num_of_frames value is invalid."

#Validate Frames Data
Expand Down Expand Up @@ -133,4 +133,4 @@ def like_thing(uid: str):

@export
def set_proof(uid: str, code: str):
S[uid, 'proof'] = code
S[uid, 'proof'] = code
4 changes: 2 additions & 2 deletions frontend/src/components/RangeSlider.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</script>

<div class="flex-col">
<label>Amimation Speed <strong>{speed}ms</strong></label>
<label>Animation Speed <strong>{speed}ms</strong></label>
<input
bind:value={speed}
on:input={handleInput}
Expand All @@ -45,4 +45,4 @@
font-weight: bold;
color: var(--primary)
}
</style>
</style>