File tree Expand file tree Collapse file tree
YCode.Designer.Demo/Demo/Playground
YCode.Designer.Fluxo/Lines/Impl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 Mounting =" OnMounting"
3939 Mounted =" OnMounted"
4040 GridType =" Dot"
41+ Orientation =" Vertical"
4142 ToolTemplate =" {StaticResource ToolDataTemplate}"
4243 ItemContainerStyle =" {StaticResource FluxoNodeStyle}"
4344 Source =" {Binding Source}" />
Original file line number Diff line number Diff line change @@ -35,7 +35,20 @@ protected override void OnHorizontal()
3535
3636 protected override void OnVertical ( )
3737 {
38- throw new NotImplementedException ( ) ;
38+ this . Parameter . Start = this . Parameter . Source . Top ;
39+
40+ this . Parameter . End = this . Parameter . Target . Top ;
41+
42+ if ( this . Parameter . Source . Bottom . X < this . Parameter . Target . Top . X )
43+ {
44+ this . Parameter . Start = this . Parameter . Source . Bottom ;
45+ }
46+ else if ( this . Parameter . Target . Bottom . X < this . Parameter . Source . Top . X )
47+ {
48+ this . Parameter . End = this . Parameter . Target . Bottom ;
49+ }
50+
51+ this . Points . AddRanage ( [ this . Parameter . Start , this . Parameter . End ] ) ;
3952 }
4053
4154 protected override void OnCross ( )
You can’t perform that action at this time.
0 commit comments