prmr / JetUML

A desktop application for fast UML diagramming.
GNU General Public License v3.0
625 stars 125 forks source link

Can not move classes into packages #412

Closed NumberC closed 3 years ago

NumberC commented 3 years ago

Description When I attempt to move an already existing class into a package, the class does not go into the package. Instead, the class just overlaps with the package.

Steps to reproduce

  1. Create a class
  2. Create a package
  3. Attempt to drag the class into the package

Screenshots ClassOverlapping

Configuration

Possible Solution I think this may be resolved by editing the mouseReleased() class in the DiagramCanvasController class. As of now, when you DRAG_MOVE, it only aligns the node to the grid, instead of adding the node as a child when applicable.

prmr commented 3 years ago

This feature is achieved through a different gesture (tapping the shift key). Please see the user guide or enable the "Tip of the day" from the help menu.

image