| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-12-06 22:10:37 +0100 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-12-06 22:10:37 +0100 | 
| commit | 1bbc394c55332221798bd82a44c07caa24db9281 (patch) | |
| tree | 61f1d9430795a720b402fe36dcbd34fb3cb291c5 /src/roster-editor | |
| parent | f7f0adb73cecbcb2154c20d81e2b42705bcfbe56 (diff) | |
...
Diffstat (limited to 'src/roster-editor')
| -rw-r--r-- | src/roster-editor/src/View/Character.elm | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/src/roster-editor/src/View/Character.elm b/src/roster-editor/src/View/Character.elm index dd5649a..c55265d 100644 --- a/src/roster-editor/src/View/Character.elm +++ b/src/roster-editor/src/View/Character.elm @@ -7,6 +7,7 @@ module View.Character exposing  -- Elm -------------------------------------------------------------------------  import Html  import Html.Attributes +import Html.Events  -- Roster Editor ---------------------------------------------------------------  import Util.Html @@ -111,7 +112,12 @@ get_portrait_html char =     (Html.div        [           (Html.Attributes.class "character-portrait"), -         (Html.Attributes.class "character-portrait-team-0") +         (Html.Attributes.class "character-portrait-team-0"), +         (Html.Events.onClick +            (Struct.Event.ToggleCharacterBattleIndex +               (Struct.Character.get_index char) +            ) +         )        ]        [           (get_battle_index_html char), | 


