TsT wrote:Is it planned to have a option to make a .love as zip file only creation (no exe/binary attached) ?
Why? You already have a .love.
Oups sorry I'm tired. I don't know why I thought the Selector point to a directory and take files directly from it. Forget my question
EDIT: tired not tried ...
Last edited by TsT on Mon May 02, 2011 8:23 pm, edited 1 time in total.
$('#iconadd').click(function() {
// Check to see that we're not trying to add more icons than there
// are sizes.
var currItems = $('#icons li').size();
var totItems = $('#iconsizes option').size();
if (currItems < totItems) {
var newIconItem = newIconListItem();
$('#icons').append(newIconItem);
} else {
alert('That\'s plenty of icons, don\'t you think?');
}
});
It uses the number of items on the dropdown box to check the maximum. Only the first one of them has an id, if you remove it, it becomes inaccessible, and presumably gives an empty array.
Removing the remove button on the first one is a workaround, not a fix.
nevon wrote:There's a weird bug where the first icon upload list item is like 2px wider than the rest. If anyone could figure out why the hell that is, I will give them a virtual high five.
When I inspect the source, there is a ton of whitespace between each element. All javascript added elements don't have the whitespace.
Removing the whitespace made the elements line up.
whitespace.png (125.98 KiB) Viewed 2738 times
You need to add a space in between the elements on the ones added by javascript. That way you can keep your pretty indenting.
Screenshot-~-Desktop-tommybrunn.com.htm - Sublime Text 2.png (124.38 KiB) Viewed 2737 times
Works fine for me now! Good job man, it's beaütiful
Edit: 101st post!
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.