Skip to content

Commit

Permalink
turn off gate text selection
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaskia committed Jan 9, 2025
1 parent 1550477 commit 450fa77
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/assets/style.css

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

Binary file modified docs/wasm/editor_bg.wasm
Binary file not shown.
Binary file modified docs/wasm/editor_bg.wasm.br
Binary file not shown.
1 change: 1 addition & 0 deletions editor/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ mjx-container {
padding: 0 2px;
background: #ffffeb;
margin: auto;
userselect: none;
}

.quantumgate.gateI {
Expand Down
3 changes: 2 additions & 1 deletion editor/src/circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,8 @@ pub fn CircuitParts() -> Element {
[CNOT, Other(String::from("none")), I],
[H, I, I],
[I, M, X],
[M, I, Z]
[M, I, Z],
[I, I, I]
],
vec![(4, 1, 2), (5, 0, 2)],
),
Expand Down

0 comments on commit 450fa77

Please sign in to comment.