1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 00:35:26 +03:00

Whitespace fixes.

This commit is contained in:
Richard Cooper 2018-08-15 12:10:26 +01:00
parent 627c389bbe
commit 8d78d289cd

View file

@ -1391,7 +1391,6 @@ OSD.GUI.preview = {
},
onDragStart: function(e) {
var ev = e.originalEvent;
var display_item = OSD.data.display_items[$(ev.target).data('field').index];
var xPos = ev.currentTarget.dataset.x;
var yPos = ev.currentTarget.dataset.y;
@ -1441,8 +1440,7 @@ OSD.GUI.preview = {
overflows_line = FONT.constants.SIZES.LINE - ((position % FONT.constants.SIZES.LINE) + display_item.preview.length);
if (overflows_line < 0) {
position += overflows_line;
}
}
// Advanced preview, array type
} else {
var arrayElements = display_item.preview;