[gnome-shell] altTab: Fix scrolling
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] altTab: Fix scrolling
- Date: Thu, 1 Mar 2012 11:29:07 +0000 (UTC)
commit bea5c6f4e61127865e08604b7568a8840e3634cd
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Mar 1 06:26:33 2012 -0500
altTab: Fix scrolling
This hack was part of the custom scroll view code that allowed for
proper scrolling when the actor was near the screen edges. Since
the port to St.ScrollView, it's unnecessary and downright wrong,
causing portions of actors to be clipped. Remove it.
https://bugzilla.gnome.org/show_bug.cgi?id=613194
js/ui/altTab.js | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/js/ui/altTab.js b/js/ui/altTab.js
index 929f494..fd5b941 100644
--- a/js/ui/altTab.js
+++ b/js/ui/altTab.js
@@ -813,14 +813,6 @@ const SwitcherList = new Lang.Class({
let primary = Main.layoutManager.primaryMonitor;
let parentRightPadding = this.actor.get_parent().get_theme_node().get_padding(St.Side.RIGHT);
- if (this.actor.allocation.x2 == primary.x + primary.width - parentRightPadding) {
- if (this._squareItems)
- childWidth = childHeight;
- else {
- let [childMin, childNat] = children[0].get_preferred_width(childHeight);
- childWidth = childMin;
- }
- }
for (let i = 0; i < children.length; i++) {
if (this._items.indexOf(children[i]) != -1) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]