Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
boldar99 committed Jul 8, 2024
1 parent 871a299 commit 74f82e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions zxlive/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class ColorScheme(TypedDict):
| tikz_layout_defaults | tikz_names_defaults


moder_red_green: ColorScheme = {
modern_red_green: ColorScheme = {
"id": 'modern-red-green',
"label": "Modern Red & Green",
"z_spider": QColor("#ccffcc"),
Expand All @@ -104,7 +104,7 @@ class ColorScheme(TypedDict):
"outline": QColor("#000000"),
}

classic_red_green: ColorScheme = moder_red_green | {
classic_red_green: ColorScheme = modern_red_green | {
"id": "classic-red-green",
"label": "Classic Red & Green",
"z_spider": QColor("#00ff00"),
Expand All @@ -113,7 +113,7 @@ class ColorScheme(TypedDict):
"x_spider_pressed": QColor("#dd0b00"),
}

white_gray: ColorScheme = moder_red_green | {
white_gray: ColorScheme = modern_red_green | {
"id": 'white-grey',
"label": "Dodo book White & Grey",
"z_spider": QColor("#ffffff"),
Expand All @@ -134,7 +134,7 @@ class ColorScheme(TypedDict):
}

color_schemes = {
scheme["id"]: scheme for scheme in [moder_red_green, classic_red_green, white_gray, gidney]
scheme["id"]: scheme for scheme in [modern_red_green, classic_red_green, white_gray, gidney]
}

color_scheme_ids = list(color_schemes.keys())
Expand Down
4 changes: 2 additions & 2 deletions zxlive/settings_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from __future__ import annotations

from enum import IntEnum
from typing import TYPE_CHECKING, Dict, Any, TypeVar, Type, overload
from typing import TYPE_CHECKING, Dict, Any, Type
from typing_extensions import TypedDict, NotRequired

from PySide6.QtCore import QSettings
Expand Down Expand Up @@ -74,7 +74,7 @@ class SettingsData(TypedDict):
{"id": "path/custom-rules", "label": "Custom rules path", "type": FormInputType.Folder},
{"id": "color-scheme", "label": "Color scheme", "type": FormInputType.Combo, "data": color_scheme_data},
{"id": "tab-bar-location", "label": "Tab bar location", "type": FormInputType.Combo, "data": tab_positioning_data},
{"id": "snap-granularity", "label": "Snap-to-grid granularity", "type": FormInputType.Combo, "data": snap_to_grpid_data},
{"id": "snap-granularity", "label": "Snap-to-grid granularity", "type": FormInputType.Combo, "data": snap_to_grid_data},
{"id": "input-circuit-format", "label": "Input Circuit as", "type": FormInputType.Combo, "data": input_circuit_formats},
]

Expand Down

0 comments on commit 74f82e6

Please sign in to comment.