mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-30 17:41:14 -03:00
Minor fixes in the colors tab
* Show color scheme title in preview box * Show information about setting terminal background color on Apply button mouse hover * Added text_color_for_color method in colors controller scope
This commit is contained in:
@@ -26,6 +26,10 @@ controllers.controller("colorsController", function($scope, $http) {
|
||||
$scope.terminalBackgroundColor = color;
|
||||
}
|
||||
|
||||
$scope.text_color_for_color = function(color) {
|
||||
return text_color_for_color(color);
|
||||
}
|
||||
|
||||
$scope.getColorArraysArray = function() {
|
||||
var result = null;
|
||||
if ( $scope.selectedColorScheme.colors && $scope.selectedColorScheme.colors.length > 0)
|
||||
|
||||
Reference in New Issue
Block a user