Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 1 Support › EntityBaseDraggable moves when clicked

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5330

    Martin

    Another question regarding the level editor and EntityBaseDraggable: we would like to tap (=click) on entities to select them so their properties are shown in the ItemEditor. This unfortunately does not seem to work out of the box, see this question. The problem with tapping an EntityBaseDraggable is that it immediately translates its position so that its center lies at the tap point. Is there a way to prevent it from doing this? If not, could you introduce a property so this can be disabled or delayed?

    Cheers, Martin

    #5345

    Alex
    Felgo Team

    Hi Martin,

    we added a EntityBaseDraggable::delayDragOffset property with a boolean value (false by default). If this is set to true, the dragOffset will only be applied after an actual drag has started, meaning the mouse is pressed and moved several pixel in any direction. This will be available with our next daily build.

    Cheers,
    Alex

    #5347

    Martin

    Hey Alex, exactly what we need. Looking forward to testing it!

    Cheers, Martin

    #5371

    Martin

    Could you provide a rough estimate on when to expect the next daily?

    Cheers, Martin

    #5372

    Alex
    Felgo Team

    It is planned for next week.

    Cheers,
    Alex

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded