Skip to content

Commit

Permalink
Fix scriptevents on entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aessi committed Nov 16, 2018
1 parent e6431e4 commit 9cb4936
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@

<frame id="startyearselection" posn="12 -20">
<label id="lbl-startyear" text="Start year : " posn="0 0" sizen="18" halign="right" valign="center" textsize="2" />
<entry id="etr-startyear" posn="0 0" sizen="56" halign="left" valign="center" textsize="2" style="StyleTextScriptEditor" default="3000" />
<entry id="etr-startyear" posn="0 0" sizen="56" halign="left" valign="center" textsize="2" style="StyleTextScriptEditor" default="3000" scriptevents="1" />
</frame>

<frame id="statusbar" posn="0 -30 1">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ Text AllExpandedButtons(Text _EventControlId, Vec2 _Size)
for (ButtonIndex, 0, C_MaxNbExpandedButtons - 1) {
Result ^= """ <frame id="{{{_EventControlId}}}_ExpandedButtonFrame-{{{ButtonIndex}}}" pos="0 {{{- ButtonIndex * _Size.Y}}}">
<label id="{{{_EventControlId}}}_ExpandedButtonLabel" halign="left" valign="center" size="{{{_Size.X - 11.6}}} 0" pos="{{{- _Size.X / 2. + 3.}}} 0" textfont="{{{G_SubFont}}}" textsize="1"/>
<entry id="{{{_EventControlId}}}_ExpandedButtonEntry" halign="left" valign="center" size="{{{_Size.X - 11.6}}} 0" pos="{{{- _Size.X / 2. + 3.}}} 0" z-index="-2" hidden="1"/>
<entry id="{{{_EventControlId}}}_ExpandedButtonEntry" halign="left" valign="center" size="{{{_Size.X - 11.6}}} 0" pos="{{{- _Size.X / 2. + 3.}}} 0" z-index="-2" hidden="1" scriptevents="1" />
<quad id="{{{_EventControlId}}}_ExpandedButtonQuad" halign="center" valign="center" size="{{{_Size.X}}} {{{_Size.Y}}}" z-index="-1" bgcolor="000" opacity="0.6" class="ExpandedButton" scriptevents="1"/>
</frame>
""";
Expand Down

0 comments on commit 9cb4936

Please sign in to comment.