mirror of
https://github.com/Karaka-Management/oms-Labeling.git
synced 2026-01-11 00:58:42 +00:00
bug fixes
This commit is contained in:
parent
be9633258d
commit
82aacb62f0
|
|
@ -114,7 +114,7 @@ final class ApiController extends Controller
|
|||
__DIR__ . '/../../../Modules/Media/Files' . $path
|
||||
);
|
||||
|
||||
// @todo: I think we need to add the uploaded files to the collection.
|
||||
// @todo I think we need to add the uploaded files to the collection.
|
||||
// The frontend should work without it because of some "smart" corrections (virtualPath), but it is not correct.
|
||||
// In the db there should be a relationship defined, no?
|
||||
// If that is the case, maybe we also need to adjust the api. Either the uploadFiles should create the collection (if specified)
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ class Label
|
|||
foreach ($this->elements as $element) {
|
||||
$color = 0;
|
||||
|
||||
// @todo: replace int type with enum
|
||||
// @todo replace int type with enum
|
||||
if ($element instanceof Shape) {
|
||||
if ($element->type === ShapeType::LINE) {
|
||||
if ($element->borderThickness === 1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user