Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/bootstrap-5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnabdaz authored Nov 24, 2024
2 parents 4f0796e + 4d6aa18 commit 9b1df28
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
<input
type="checkbox"
class="objectPropertyAttributeChecked"
name="changeClockEnable" />
name="changeClockEnable"
checked
/>
<span class="slider"></span
></label>
</p>
Expand Down
14 changes: 14 additions & 0 deletions src/components/Panels/Shared/InputGroups.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,17 @@ function decreaseValue() {
ele.dispatchEvent(e)
}
</script>

<style scoped>
/* Hide spinners for numeric input' */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number]{
-moz-appearance: textfield;
}
</style>
5 changes: 5 additions & 0 deletions src/simulator/src/circuit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ export const circuitProperty = {
changeClockEnable,
changeInputSize,
changeLightMode,
changeClockTime
}

function changeClockTime(t: number) {
simulationArea.changeClockTime(t)
}

export let scopeList: { [key: string]: Scope } = {}
Expand Down

0 comments on commit 9b1df28

Please sign in to comment.