summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/map-editor/src/View')
-rw-r--r--src/map-editor/src/View/SubMenu.elm2
-rw-r--r--src/map-editor/src/View/SubMenu/TileStatus.elm2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map-editor/src/View/SubMenu.elm b/src/map-editor/src/View/SubMenu.elm
index 7547e17..8717ac0 100644
--- a/src/map-editor/src/View/SubMenu.elm
+++ b/src/map-editor/src/View/SubMenu.elm
@@ -44,7 +44,7 @@ get_inner_html model tab =
--------------------------------------------------------------------------------
get_html : Struct.Model.Type -> (Html.Html Struct.Event.Type)
get_html model =
- case (Struct.UI.try_getting_displayed_tab model.ui) of
+ case (Struct.UI.maybe_get_displayed_tab model.ui) of
(Just tab) ->
(Html.div
[(Html.Attributes.class "sub-menu")]
diff --git a/src/map-editor/src/View/SubMenu/TileStatus.elm b/src/map-editor/src/View/SubMenu/TileStatus.elm
index eb61a2f..bc677f3 100644
--- a/src/map-editor/src/View/SubMenu/TileStatus.elm
+++ b/src/map-editor/src/View/SubMenu/TileStatus.elm
@@ -127,7 +127,7 @@ get_tile_info_html : (
(Html.Html Struct.Event.Type)
)
get_tile_info_html model loc =
- case (BattleMap.Struct.Map.try_getting_tile_at loc model.map) of
+ case (BattleMap.Struct.Map.maybe_get_tile_at loc model.map) of
(Just tile) ->
(Html.div
[