Skip to content

Commit

Permalink
Update wrong links in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Insality committed Dec 5, 2023
1 parent 5d4039d commit 2c083f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs_md/03-styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The most components have their styles. You can explore it on [Druid API](https:/

To create you style, create lua module, what return <_component_name_, _component_style_> table

Example: [default druid style](styles/default/style.lua)
Example: [default druid style](/druid/styles/default/style.lua)

Override all fields you want and set your style with one of next ways:

Expand Down
2 changes: 1 addition & 1 deletion druid/styles/default/style.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ M["scroll"] = {
WHEEL_SCROLL_SPEED = 0, -- Amount of pixels to scroll by one wheel event (0 to disable)
WHEEL_SCROLL_INVERTED = false, -- Boolean to invert wheel scroll side
WHEEL_SCROLL_BY_INERTION = false, -- If true, wheel will add inertion to scroll. Direct set position otherwise.
SMALL_CONTENT_SCROLL = true, -- If true, content node with size less than view node size can be scrolled
SMALL_CONTENT_SCROLL = false, -- If true, content node with size less than view node size can be scrolled
}


Expand Down
2 changes: 1 addition & 1 deletion example/example.gui_script
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ local function init_lobby(self)
self.lobby_grid:add(get_button(self, "With component", "data_list_with_component", "/data_list/with_component/with_component.gui_script"))

self.lobby_grid:add(get_title(self, "Layouts"))
self.lobby_grid:add(get_button(self, "Layout fit", "layout_fit", "/custom/layout_fit/layout_fit.gui_script"))
self.lobby_grid:add(get_button(self, "Layout fit", "layout_fit", "/custom/layout/layout_fit/layout_fit.gui_script"))

self.lobby_grid:add(get_title(self, "Custom components"))
self.lobby_grid:add(get_button(self, "Rich Input", "custom_rich_input", "/custom/rich_input/rich_input.gui_script"))
Expand Down

0 comments on commit 2c083f6

Please sign in to comment.