Ignore:
Timestamp:
Aug 12, 2010, 11:52:38 AM (11 years ago)
Author:
matkovic
Message:

-Logging added
-Progress bar added
-DataPresentation now updating
-PluginContainerView complete rebuilt
-Several images added

File:
1 edited

Legend:

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

    r1760 r1807  
    9898                newPluginContainerView.MouseLeftButtonDown += new MouseButtonEventHandler(shape_MouseLeftButtonDown);
    9999                newPluginContainerView.MouseLeftButtonUp += new MouseButtonEventHandler(shape_MouseLeftButtonUp);
    100                 newPluginContainerView.SetPosition(position);
     100                newPluginContainerView.SetPosition(new Point((Math.Round((position.X) / Properties.Settings.Default.GridScale)) * Properties.Settings.Default.GridScale,
     101                                                            (Math.Round((position.Y) / Properties.Settings.Default.GridScale)) * Properties.Settings.Default.GridScale));
     102
    101103                this.root.Children.Add(newPluginContainerView);
    102104                Canvas.SetZIndex(newPluginContainerView, 100);
Note: See TracChangeset for help on using the changeset viewer.