Ignore:
Timestamp:
Oct 19, 2010, 11:07:42 AM (11 years ago)
Author:
matkovic
Message:

-fixed pathfinding
-fixed line drawing
-added Colorpicker
-fixed lock/unlock at TextInputWrapper
-feature: Background and TextForeground in TextInputWrapper added
-fixed a issue With loading and such
-WorkspaceModel doesn't throw exception anymore (Samples functional again)
-fixed some Styles
-Startable implemented and loaded right
-Startable Logo moved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/View/Container/WorkSpaceEditorView.xaml.cs

    r1970 r1991  
    130130                ConnectionModel connectionModel = this.Model.newConnectionModel(((ConnectorView)source).Model, ((ConnectorView)target).Model, ((ConnectorView)source).Model.ConnectorType);
    131131                CryptoLineView conn = new CryptoLineView(connectionModel);
     132                conn.StartPointSource = source;
     133                conn.EndPointSource = target;
    132134                connectionModel.UpdateableView = conn;
    133135                connectionModel.OnDelete += DeleteConnection;
     
    370372                        {
    371373                            if (connModel.From == connector.Model)
     374                            {
     375                                conn.StartPointSource = connector;
    372376                                conn.SetBinding(CryptoLineView.StartPointProperty, CreateConnectorBinding(connector));
     377                            }
    373378                            else if (connModel.To == connector.Model)
     379                            {
     380                                conn.EndPointSource = connector;
    374381                                conn.SetBinding(CryptoLineView.EndPointProperty, CreateConnectorBinding(connector));
     382                            }
    375383                        }
    376384                    }
Note: See TracChangeset for help on using the changeset viewer.