Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Conversation

@khalidibrahimio
Copy link
Contributor

  • Dragging containment disabled after a window is maximiszd and then restored
  • Dragging limit is set to disable dragging horizontally outside the window

save_states();
});
blankWindow.on('dialogextendrestore',() => {
dialog.draggable({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can make this one line


if (top < 0) {
dialog.animate({ top: '0px' }, 300, dialog.trigger.bind(dialog, 'animated'));
if (top < 106) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we get nav height instead of hardcoded height value

@ashkanx ashkanx merged commit 202dd2e into binary-com:master May 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants