Skip to content

Commit 877bffa

Browse files
author
Matt Karl
committed
Fixed caption errors, flattened UI
* Fixed captions bug resizing new captions areas * Added tooltip hover to captions for long aliases * Fixed captions not being deleted correctly
1 parent acbdb5e commit 877bffa

File tree

15 files changed

+39
-34
lines changed

15 files changed

+39
-34
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SpringRollStudio",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"private": true,
55
"dependencies": {
66
"jqueryui": "*",

deploy/index.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
<head>
44
<meta charset="utf-8">
55
<title>SpringRoll Studio</title>
6-
<link href="assets/css/libraries.css?v=0.2.1" rel="stylesheet">
7-
<link href="assets/css/main.css?v=0.2.1" rel="stylesheet">
8-
<script src="assets/js/libraries.js?v=0.2.1"></script>
9-
<script src="assets/js/main.js?v=0.2.1"></script>
6+
<link href="assets/css/libraries.css?v=0.2.2" rel="stylesheet">
7+
<link href="assets/css/main.css?v=0.2.2" rel="stylesheet">
8+
<script src="assets/js/libraries.js?v=0.2.2"></script>
9+
<script src="assets/js/main.js?v=0.2.2"></script>
1010
</head>
1111
<body>
1212
<header>
13-
<img src="assets/images/icon.png?v=0.2.1" class="logo">
13+
<img src="assets/images/icon.png?v=0.2.2" class="logo">
1414
</header>
1515
<nav class="modules btn-group">
1616
<a class="btn btn-sm btn-primary" href="new.html" id="new" target="_blank" title="New Project" data-width="550" data-height="670" data-resizable="false">
@@ -37,10 +37,12 @@
3737
<a class="btn btn-primary btn-lg requires-project" href="preview.html" id="preview" target="_blank" title="Preview" data-width="800" data-height="550" data-min-height="200" data-min-width="400">
3838
<span class="icon glyphicon glyphicon-search"></span> Preview
3939
</a>
40-
<a class="btn btn-primary btn-lg" href="remote.html" id="remote" target="_blank" title="Remote Trace" data-width="480" data-height="400" data-min-height="275" data-min-width="400">
40+
</div>
41+
<div class="modules hidden">
42+
<a class="btn btn-primary btn-lg hidden" href="remote.html" id="remote" target="_blank" title="Remote Trace" data-width="480" data-height="400" data-min-height="275" data-min-width="400">
4143
<span class="icon glyphicon glyphicon-send"></span> Remote Trace
4244
</a>
4345
</div>
44-
<footer class="version">Version <span id="version">0.2.1</span></footer>
46+
<footer class="version">Version <span id="version">0.2.2</span></footer>
4547
</body>
4648
</html>

deploy/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "SpringRollStudio",
33
"description": "Application for SpringRoll projects",
4-
"version": "0.2.1",
4+
"version": "0.2.2",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/SpringRoll/SpringRollStudio"
@@ -15,7 +15,7 @@
1515
"frame": true,
1616
"position": "center",
1717
"width": 300,
18-
"height": 430,
18+
"height": 390,
1919
"resizable": false
2020
},
2121
"webkit": {

installer/win32.nsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# These three must be integers
55
!define VERSIONMAJOR 0
66
!define VERSIONMINOR 2
7-
!define VERSIONBUILD 1
7+
!define VERSIONBUILD 2
88
# These will be displayed by the "Click here for support information" link in "Add/Remove Programs"
99
# It is possible to use "mailto:" links in here to open the email client
1010
!define HELPURL "https://github.com/SpringRoll/SpringRollStudio/issues"

installer/win64.nsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# These three must be integers
55
!define VERSIONMAJOR 0
66
!define VERSIONMINOR 2
7-
!define VERSIONBUILD 1
7+
!define VERSIONBUILD 2
88
# These will be displayed by the "Click here for support information" link in "Add/Remove Programs"
99
# It is possible to use "mailto:" links in here to open the email client
1010
!define HELPURL "https://github.com/SpringRoll/SpringRollStudio/issues"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "SpringRollStudio",
33
"private": true,
4-
"version": "0.2.1",
4+
"version": "0.2.2",
55
"dependencies": {
66
"grunt": "^0.4.5",
77
"grunt-contrib-copy": "^0.7.0",

project.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SpringRollStudio",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"main": [
55
"components/node-webkit-app/src/utils/UpdateChecker.js",
66
"components/node-webkit-app/src/utils/Browser.js",
@@ -20,7 +20,6 @@
2020
"components/bootstrap/dist/js/bootstrap.min.js",
2121
"components/cloudkid-namespace/dist/namespace.min.js",
2222
"components/bootstrap/less/bootstrap.less",
23-
"components/bootstrap/less/theme.less",
2423
"components/bootstrap-confirmation/bootstrap-confirmation.js",
2524
"components/underscore/underscore.js",
2625
"components/wavesurfer.js/build/wavesurfer.min.js"
@@ -35,7 +34,6 @@
3534
"components/bootstrap/dist/js/bootstrap.js",
3635
"components/cloudkid-namespace/dist/namespace.js",
3736
"components/bootstrap/less/bootstrap.less",
38-
"components/bootstrap/less/theme.less",
3937
"components/bootstrap-confirmation/bootstrap-confirmation.js",
4038
"components/underscore/underscore.js",
4139
"components/wavesurfer.js/build/wavesurfer.min.js"

src/springroll/captions/Captions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@
356356
{
357357
// Update the button's data source
358358
button.data('src', src);
359+
this.list.setStatus(button, this.project.captions[alias] ? 1 : 0);
359360

360361
// Make sure we clear the current button
361362
if (this.list.deselect(alias))

src/springroll/captions/less/timeline.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
overflow: hidden;
4848
width:200px;
4949
position: absolute;
50-
background: linear-gradient(to bottom, #428bca 0, #2d6ca2 100%);
50+
background: #428bca;
5151
box-shadow:none;
5252
color:#fff;
5353
height:30px;

src/springroll/captions/ui/List.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,12 @@
189189
// check that file exists!
190190
var button = $("<button></button>")
191191
.addClass("btn btn-sm")
192-
.html(alias)
192+
.text(alias)
193+
.attr('title', alias)
194+
.tooltip({
195+
container: 'body',
196+
delay: {show: 1000, hide: 100}
197+
})
193198
.attr('data-alias', alias)
194199
.data('alias', alias)
195200
.data('status', status)
@@ -259,7 +264,11 @@
259264

260265
if (confirm(message))
261266
{
262-
this.parent.trigger('selectAudioSrc', [alias, status == -2]);
267+
this.parent.trigger('selectAudioSrc', [
268+
alias,
269+
status == -2,
270+
button
271+
]);
263272
}
264273
return;
265274
}

0 commit comments

Comments
 (0)