MetaMorphic-Digital / complete-card-management

A FVTT module that allows users to manipulate cards as part of the canvas
2 stars 0 forks source link

Fixed Sorting #112

Closed JPMeehan closed 3 weeks ago

JPMeehan commented 4 weeks ago

Closes #64

JPMeehan commented 4 weeks ago

I may be confused as to what the issue is this PR is meant to solve. If this is not the sorting on the canvas, then what?

This is the sorting on the canvas. Basically, the issue was that the meshes that are part of our placeable objects (the card images) were part of the interface group directly and so weren't being sorted by the faux document's sort property.

krbz999 commented 4 weeks ago

I may be confused as to what the issue is this PR is meant to solve. If this is not the sorting on the canvas, then what?

This is the sorting on the canvas. Basically, the issue was that the meshes that are part of our placeable objects (the card images) were part of the interface group directly and so weren't being sorted by the faux document's sort property.

This issue did not appear fixed in my testing.

JPMeehan commented 3 weeks ago

Had a stupid mistake in the code.