mirror of
https://github.com/Karaka-Management/oms-Labeling.git
synced 2026-02-12 07:38: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
|
__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.
|
// 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?
|
// 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)
|
// 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) {
|
foreach ($this->elements as $element) {
|
||||||
$color = 0;
|
$color = 0;
|
||||||
|
|
||||||
// @todo: replace int type with enum
|
// @todo replace int type with enum
|
||||||
if ($element instanceof Shape) {
|
if ($element instanceof Shape) {
|
||||||
if ($element->type === ShapeType::LINE) {
|
if ($element->type === ShapeType::LINE) {
|
||||||
if ($element->borderThickness === 1) {
|
if ($element->borderThickness === 1) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user