Skip to content

TFMXImageSlider drag single page #18

@vkrapotkin

Description

@vkrapotkin

I guess no need to enable dragging when we have only one image loaded.
I suggest to change

procedure TFMXImageSlider.MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Single);
..
  if (PageCount > 0) and (Button = TMouseButton.mbLeft) then

to
if (PageCount > 1) and (Button = TMouseButton.mbLeft) then

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions