ui: fix "remove" icons

This commit is contained in:
jean-emmanuel 2018-01-25 12:59:26 +01:00
parent 537c61d757
commit 87dff7ad72
4 changed files with 4 additions and 5 deletions

View file

@ -6,7 +6,7 @@
- plots now send their value to other widget for synchronization as expected
- text widgets now apply their target widget's precision
- property inheritance accepts targetting a parent widget by its id
- icons in context menu and modal widget are displayed correctly
- multiple icons not displayed correctly
- broken `--blank` switch
- widgets
- inputs: **new** `keys` widget, for keyboard bindings

View file

@ -7,7 +7,6 @@
<link rel="stylesheet" type="text/css" href="../../browser/styles.css"/>
<link rel="stylesheet" type="text/css" href="../../browser/fonts/fontawesome.min.css"/>
<link rel="stylesheet" type="text/css" href="../../browser/fonts/fa-solid.css"/>
<link rel="stylesheet" type="text/css" href="../../browser/fonts/font-awesome.min.css"/>
<link rel="stylesheet" type="text/css" href="../../browser/fonts/roboto-medium.css"/>
<script src="launcher.js"></script>
</head>

View file

@ -100,7 +100,7 @@ $(document).ready(()=>{
if (!stop) $('input').not(input).trigger('change',true)
})
cancel = $(`<div class="btn clear"><i class="fa fa-remove fa-fw"></i></div>`)
cancel = $(`<div class="btn clear"><i class="fa fa-times fa-fw"></i></div>`)
cancel.click((e)=>{
e.preventDefault()
if (option.type == 'boolean') {

View file

@ -147,7 +147,7 @@ var editObject = function(widget, options = {}){
.appendTo(list)
.click(editItem(i))
var remove = $('<span><i class="fa fa-remove"></i></span>')
var remove = $('<span><i class="fa fa-times"></i></span>')
.appendTo(item)
.click(function(e){
e.stopPropagation()
@ -202,7 +202,7 @@ var editObject = function(widget, options = {}){
.appendTo(list)
.click(editItem(i))
var remove = $('<span><i class="fa fa-remove"></i></span>')
var remove = $('<span><i class="fa fa-times"></i></span>')
.appendTo(item)
.click(function(e){
e.stopPropagation()