Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnovak committed Jun 30, 2024
1 parent 515391b commit e70b0d0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/main.nim
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ type
emSelectDraw
emSelectErase
emSelectRect
emSetCellLink,
emSetCellLink
emSelectJumpToLinkSrc

# Special "momentary" mode; after exiting emPanLevel, the previous edit
Expand All @@ -587,6 +587,7 @@ type
dwaSet = "set"
dwaClear = "clear"


Theme = object
config: HoconNode
prevConfig: HoconNode
Expand Down Expand Up @@ -631,6 +632,7 @@ type
userTheme: bool
override: bool


Dialog = enum
dlgNone

Expand Down Expand Up @@ -911,7 +913,7 @@ type
of qkKeyShortcuts: keyShortcuts: seq[KeyShortcut]
of qkCustomShortcuts: customShortcuts: seq[string]
of qkDescription: description: string
of qkSeparator: discard
of qkSeparator: discard


var g_app: AppContext
Expand Down Expand Up @@ -8748,7 +8750,7 @@ proc renderThemeEditorProps(x, y, w, h: float; a) =

var p: string

# {{{ -- User interface section
# {{{ User interface section
if koi.sectionHeader("User Interface", te.sectionUserInterface):

if koi.subSectionHeader("Window", te.sectionTitleBar):
Expand Down Expand Up @@ -8903,7 +8905,7 @@ proc renderThemeEditorProps(x, y, w, h: float; a) =
koi.checkBox(a.splash.show)

# }}}
# {{{ -- Level section
# {{{ Level section
if koi.sectionHeader("Level", te.sectionLevel):
if koi.subSectionHeader("General", te.sectionLevelGeneral):
p = "level.general."
Expand Down Expand Up @@ -9033,7 +9035,7 @@ proc renderThemeEditorProps(x, y, w, h: float; a) =
colorProp("Shadow", p & "shadow.color")

# }}}
# {{{ -- Panes section
# {{{ Panes section

if koi.sectionHeader("Panes", te.sectionPanes):
if koi.subSectionHeader("Notes Pane", te.sectionNotesPane):
Expand Down

0 comments on commit e70b0d0

Please sign in to comment.