Changeset 2544


Ignore:
Timestamp:
Jan 31, 2011, 8:10:55 PM (10 years ago)
Author:
matkovic
Message:

-fixed image loading bug

Location:
trunk/CrypPlugins/WorkspaceManager/View
Files:
2 edited

Legend:

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

    r2388 r2544  
    7777
    7878            this.bottomBox.FitToScreen += new EventHandler<FitToScreenEventArgs>(bottomBox_FitToScreen);
    79             this.UserContentWrapper = new UserContentWrapper(WorkspaceModel, bottomBox);
     79            this.UserContentWrapper = new UserContentWrapper(Model, bottomBox);
    8080            this.UserControlWrapperParent.Children.Clear();
    8181            this.UserControlWrapperParent.Children.Add(UserContentWrapper);       
     
    639639                Canvas.SetZIndex(conn, 0);
    640640            }
     641
     642            this.UserContentWrapper = new UserContentWrapper(Model, bottomBox);
     643            this.UserControlWrapperParent.Children.Clear();
     644            this.UserControlWrapperParent.Children.Add(UserContentWrapper);   
    641645        }
    642646
  • trunk/CrypPlugins/WorkspaceManager/View/VisualComponents/ImageWrapper.xaml.cs

    r1892 r2544  
    111111                Model.Width = this.ActualWidth;
    112112            }
     113            e.Handled = true;
    113114        }
    114115
Note: See TracChangeset for help on using the changeset viewer.