Skip to content

Commit

Permalink
Fixed regression when selecting tiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikogan committed Jan 4, 2017
1 parent ab6ab2c commit 3bb6ae5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "farnsworth-launcher",
"productName": "Farnsworth Launcher",
"version": "0.2.3",
"version": "0.2.4",
"description": "Fullscreen Application Launcher for TVs",
"main": "main.js",
"scripts": {
Expand All @@ -25,7 +25,7 @@
"homepage": "https://bitbucket.org/ikogan/farnsworth#readme",
"devDependencies": {
"angular-mocks": "^1.5.5",
"electron-prebuilt": "1.2.1"
"electron-prebuilt": "1.4.13"
},
"dependencies": {
"angular": "^1.5.5",
Expand Down
2 changes: 1 addition & 1 deletion app/ui/scripts/controllers/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ angular.module('farnsworth')
self.selectedCategory = self.categoryList[self.selectedCategoryIndex];

self.selectedTileIndex = _.findIndex(self.selectedCategory.tiles, function(item) {
return item.name === tile.name;
return item === tile;
});
};

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "farnsworth-launcher",
"version": "0.2.3",
"version": "0.2.4",
"description": "Fullscreen Application Launcher for TVs",
"main": "main.js",
"scripts": {
Expand All @@ -26,7 +26,7 @@
}
},
"devDependencies": {
"electron-builder": "^10.9.2",
"electron-builder": "^10.17.1",
"electron-prebuilt": "1.4.13",
"rimraf": "^2.5.4"
}
Expand Down

0 comments on commit 3bb6ae5

Please sign in to comment.