Notice: A non well formed numeric value encountered in /home/www/lightninglauncher.com/docs/www/flyspray/includes/class.flyspray.php on line 96 Notice: A non well formed numeric value encountered in /home/www/lightninglauncher.com/docs/www/flyspray/includes/class.flyspray.php on line 96 Notice: A non well formed numeric value encountered in /home/www/lightninglauncher.com/docs/www/flyspray/includes/class.flyspray.php on line 96 Deprecated: Function create_function() is deprecated in /home/www/lightninglauncher.com/docs/www/flyspray/includes/class.flyspray.php on line 104 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/www/lightninglauncher.com/docs/www/flyspray/adodb/adodb.inc.php on line 845 Deprecated: Function create_function() is deprecated in /home/www/lightninglauncher.com/docs/www/flyspray/includes/class.user.php on line 111 FS#53 : Improve seamless mode

Lightning Launcher

Notice: Undefined index: tasklist_type in /home/www/lightninglauncher.com/docs/www/flyspray/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /home/www/lightninglauncher.com/docs/www/flyspray/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Enhancement
  • Category Navigation
  • Assigned To No-one
  • Operating System Android
  • Severity Low
  • Priority Normal
  • Reported Version 12.6+
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Lightning Launcher
Opened by TrianguloY (TrianguloY) - 2015-10-31

FS#53 - Improve seamless mode

Instead of wrapping the container when it crosses the boundaries, wrap it when half the container cross the boundaries.

Talking about the JavaScript functions something like (simplified and only X)
var xpos=containet.positionX
var xleft=containet.box.left
var xright=container.box.right
var xboxwidth=xright-xleft
var xwidth=container.width

/*this is how I think it works currently:
if(xpos<xright)container.xpos+=xboxwidth;
else if(xpos>xright)container.xpos-=xboxwidth;
*/

//this is my suggestion:
if(xpos<xright-xwidth/2)container.xpos+=xboxwidth;
else if(xpos>xright-xwidth/2)container.xpos-=xboxwidth;

This way always half the screen is at their 'true' position

This task does not depend on any other tasks.

Loading...