Skip to content

Commit cf060a5

Browse files
committed
UX: Properly hide View in LS example model
When the buttons were rectangular, the old approach worked fine. Now that the buttons have rounded corners, the View widget was peeking out from behind the buttons.
1 parent 55cfab5 commit cf060a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Code Examples/Extensions Examples/ls/Model Interactions Example.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ end
6464
; To the extent possible under law, Uri Wilensky has waived all
6565
; copyright and related or neighboring rights to this model.</code>
6666
<widgets>
67-
<view x="15" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-6" height="173" showTickCounter="true" patchSize="13.0" fontSize="10" wrappingAllowedY="true" width="173" tickCounterLabel="ticks" maxPycor="6" updateMode="1" maxPxcor="6" minPxcor="-6"></view>
67+
<view x="28" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-6" height="160" showTickCounter="true" patchSize="12.0" fontSize="10" wrappingAllowedY="true" width="160" tickCounterLabel="ticks" maxPycor="6" updateMode="1" maxPxcor="6" minPxcor="-6"></view>
6868
<button x="15" y="115" height="105" disableUntilTicks="true" forever="true" kind="Observer" width="180" sizeVersion="0">go</button>
6969
<button x="15" y="10" height="105" disableUntilTicks="false" forever="false" kind="Observer" width="180" sizeVersion="0">setup</button>
7070
</widgets>

0 commit comments

Comments
 (0)