Fixing positioning of the active story indicator.

This commit is contained in:
Samuel Clay 2013-07-07 22:38:24 -07:00
parent 457a65b40f
commit 505847d4e0
2 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 484 B

After

Width:  |  Height:  |  Size: 484 B

View file

@ -4142,7 +4142,7 @@
$('.NB-callout-text', $callout).text('Unlocked');
} else {
self.model.preference('lock_mouse_indicator', this.cache.mouse_position_y - NEWSBLUR.app.story_list.cache.story_pane_position);
self.model.preference('lock_mouse_indicator', this.cache.mouse_position_y);
$('.NB-callout-text', $callout).text('Locked');
}
@ -4159,7 +4159,7 @@
var container = this.layout.contentLayout.state.container.innerHeight - 30;
if (position <= 0 || position > container) {
position = 50; // Start with a 50 offset
position = 20; // Start with a 20 offset
} else {
position = position - 8; // Compensate for mouse indicator height.
}